Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001068/0.001068, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001088/0.001088, allocations: 160.2 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9546/0.9546, allocations: 177 MB / 205.2 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.759e-05, allocations: 2.312 kB / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.012/0.01202, allocations: 8.636 MB / 282.1 MB, free: 8.504 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003754/0.01577, allocations: 2.735 MB / 284.8 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00052/0.01629, allocations: 79.62 kB / 284.9 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003419/0.01971, allocations: 3.959 MB / 288.8 MB, free: 1.703 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.02108, allocations: 0.7606 MB / 289.6 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.02213, allocations: 0.9188 MB / 290.5 MB, free: 16 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.113/0.1351, allocations: 3.769 MB / 294.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00682/0.142, allocations: 6.335 MB / 300.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004101/0.1461, allocations: 3.229 MB / 303.8 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002746/0.1488, allocations: 2.352 MB / 306.2 MB, free: 9.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001034/0.1498, allocations: 0.586 MB / 306.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.151, allocations: 0.8252 MB / 307.6 MB, free: 9.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004968/0.1515, allocations: 1.145 MB / 308.8 MB, free: 8.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.153, allocations: 1.539 MB / 310.3 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0028/0.1558, allocations: 3.98 MB / 314.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1558, allocations: 0.9688 kB / 314.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1558, allocations: 0 / 314.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.871e-05/0.1559, allocations: 0 / 314.3 MB, free: 4.949 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.005511/0.1614, allocations: 4.745 MB / 319 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1614, allocations: 11.98 kB / 319 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004502/0.1659, allocations: 1.7 MB / 320.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.1677, allocations: 1.201 MB / 321.9 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.1678, allocations: 313.6 kB / 322.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003668/0.1682, allocations: 414.8 kB / 322.6 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003151/0.1713, allocations: 2.721 MB / 325.4 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.99e-05/0.1714, allocations: 7.984 kB / 325.4 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/0.1716, allocations: 175 kB / 325.5 MB, free: 10.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.1717, allocations: 180.5 kB / 325.7 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.1733, allocations: 1.057 MB / 326.8 MB, free: 9.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.1842, allocations: 11.94 MB / 338.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.1856, allocations: 1.134 MB / 339.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/0.186, allocations: 338.6 kB / 340.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.65e-05/0.1861, allocations: 52.95 kB / 340.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1861, allocations: 43.31 kB / 340.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 3.377e-06/0.1861, allocations: 0 / 340.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.0006703/0.1868, allocations: 0.5039 MB / 340.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.1868, allocations: 60.41 kB / 340.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006116/0.1874, allocations: 0.9401 MB / 341.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.1875, allocations: 45.7 kB / 341.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006285/0.1881, allocations: 1.744 MB / 343.6 MB, free: 8.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.1883, allocations: 382.9 kB / 343.9 MB, free: 8.395 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000324/0.1886, allocations: 422.7 kB / 344.4 MB, free: 8.016 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.1887, allocations: 344.3 kB / 344.7 MB, free: 7.691 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.189, allocations: 287.2 kB / 345 MB, free: 7.406 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/0.1897, allocations: 1.198 MB / 346.2 MB, free: 5.801 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.1908, allocations: 1.666 MB / 347.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/0.1908, allocations: 12 kB / 347.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001337/0.1922, allocations: 1.315 MB / 349.2 MB, free: 2.738 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.1922, allocations: 27.92 kB / 349.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.1922, allocations: 36.12 kB / 349.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.818e-05/0.1923, allocations: 48 kB / 349.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009195/0.1932, allocations: 0.5141 MB / 349.8 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.293e-05/0.1932, allocations: 70.22 kB / 349.9 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/0.1939, allocations: 262 kB / 350.1 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.495e-05/0.194, allocations: 91.98 kB / 350.2 MB, free: 1.75 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005079/0.1945, allocations: 266.9 kB / 350.5 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.1946, allocations: 103.9 kB / 350.6 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007725/0.1954, allocations: 0.7259 MB / 351.3 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003044/0.1957, allocations: 320 kB / 351.6 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1957, allocations: 0 / 351.6 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.1957, allocations: 7.969 kB / 351.6 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00478/0.2005, allocations: 3.97 MB / 355.6 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.2005, allocations: 20 kB / 355.6 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/0.2009, allocations: 214.7 kB / 355.8 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.652e-05/0.2009, allocations: 28 kB / 355.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/0.2009, allocations: 43.98 kB / 355.9 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.079e-05/0.201, allocations: 43.14 kB / 355.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.43e-05/0.201, allocations: 36.02 kB / 356 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.2021, allocations: 1.544 MB / 357.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.2024, allocations: 187.6 kB / 357.7 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.215e-05/0.2025, allocations: 51.98 kB / 357.7 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.2028, allocations: 36 kB / 357.8 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.2029, allocations: 150.1 kB / 357.9 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.934e-05/0.203, allocations: 56.02 kB / 358 MB, free: 9.949 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003353/0.2033, allocations: 390.5 kB / 358.4 MB, free: 9.605 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2033, allocations: 0 / 358.4 MB, free: 9.605 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001718/0.205, allocations: 0.8793 MB / 359.2 MB, free: 8.723 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002753/0.2053, allocations: 188.2 kB / 359.4 MB, free: 8.555 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009663/0.2063, allocations: 0.9378 MB / 360.4 MB, free: 7.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.833e-05/0.2063, allocations: 28.78 kB / 360.4 MB, free: 7.738 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.2066, allocations: 307 kB / 360.7 MB, free: 7.512 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.2076, allocations: 353.6 kB / 361 MB, free: 7.184 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006591/0.2142, allocations: 5.603 MB / 366.6 MB, free: 1.305 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006689/0.2149, allocations: 0.7109 MB / 367.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005619/0.2155, allocations: 224.7 kB / 367.6 MB, free: 348 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004737/0.2159, allocations: 321.2 kB / 367.9 MB, free: 28 kB / 314.7 MB Notification: Performance of SimCode: time 2.114e-06/0.2159, allocations: 0 / 367.9 MB, free: 28 kB / 314.7 MB Notification: Performance of Templates: time 0.02552/0.2415, allocations: 17.37 MB / 385.2 MB, free: 14.98 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9376468900591135]