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.0007659/0.0007659, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00163/0.002396, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001118/0.001118, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001393/0.002511, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9065/0.9065, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07939/0.9859, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.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 9.32e-07/9.32e-07, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.638e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.008665/0.008681, allocations: 8.695 MB / 253.7 MB, free: 4.914 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005197/0.01388, allocations: 2.763 MB / 256.5 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008411/0.01472, allocations: 75.69 kB / 256.5 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004547/0.01927, allocations: 3.97 MB / 260.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.02117, allocations: 0.7606 MB / 261.3 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.02266, allocations: 0.9182 MB / 262.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003561/0.02622, allocations: 3.793 MB / 266 MB, free: 8.586 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007883/0.0341, allocations: 6.235 MB / 272.2 MB, free: 2.242 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1165/0.1506, allocations: 3.259 MB / 275.5 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003183/0.1538, allocations: 2.33 MB / 277.8 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001361/0.1552, allocations: 0.5844 MB / 278.4 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.1568, allocations: 0.8244 MB / 279.2 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007459/0.1575, allocations: 0.8937 MB / 280.1 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00176/0.1593, allocations: 1.287 MB / 281.4 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003851/0.1631, allocations: 3.773 MB / 285.2 MB, free: 5.887 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.365e-05/0.1631, allocations: 0 / 285.2 MB, free: 5.887 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1631, allocations: 0 / 285.2 MB, free: 5.887 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001612/0.1633, allocations: 3.469 kB / 285.2 MB, free: 5.887 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.007951/0.1712, allocations: 5.584 MB / 290.8 MB, free: 4.402 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1713, allocations: 12.12 kB / 290.8 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00384/0.1751, allocations: 1.699 MB / 292.5 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.1767, allocations: 1.196 MB / 293.7 MB, free: 4.008 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.1769, allocations: 310 kB / 294 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004869/0.1774, allocations: 415.5 kB / 294.4 MB, free: 3.992 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003973/0.1813, allocations: 2.73 MB / 297.1 MB, free: 2.102 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.218e-05/0.1814, allocations: 3.953 kB / 297.1 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003188/0.1817, allocations: 174.8 kB / 297.3 MB, free: 1.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/0.1818, allocations: 176.3 kB / 297.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.1837, allocations: 1.062 MB / 298.5 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0152/0.1989, allocations: 12.07 MB / 310.6 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.2008, allocations: 1.124 MB / 311.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/0.2013, allocations: 345.2 kB / 312 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.2015, allocations: 48.95 kB / 312.1 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.2015, allocations: 43.56 kB / 312.1 MB, free: 3.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=100): time 3.407e-06/0.2015, allocations: 0 / 312.1 MB, free: 3.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.0008787/0.2024, allocations: 0.5059 MB / 312.6 MB, free: 3.406 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.2024, allocations: 68.41 kB / 312.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000836/0.2032, allocations: 0.9374 MB / 313.6 MB, free: 2.555 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.2033, allocations: 41.7 kB / 313.7 MB, free: 2.508 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007928/0.2041, allocations: 1.742 MB / 315.4 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.2043, allocations: 382.6 kB / 315.8 MB, free: 464 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000429/0.2047, allocations: 412.8 kB / 316.2 MB, free: 84 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2049, allocations: 347.2 kB / 316.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/0.2053, allocations: 295.2 kB / 316.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009982/0.2063, allocations: 1.19 MB / 318 MB, free: 13.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.2077, allocations: 1.671 MB / 319.7 MB, free: 11.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/0.2077, allocations: 8 kB / 319.7 MB, free: 11.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.00167/0.2094, allocations: 1.317 MB / 321 MB, free: 10.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.2094, allocations: 23.94 kB / 321 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.368e-05/0.2094, allocations: 32 kB / 321.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.483e-05/0.2095, allocations: 48 kB / 321.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.2108, allocations: 0.562 MB / 321.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.656e-05/0.2109, allocations: 70.41 kB / 321.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009197/0.2118, allocations: 257.5 kB / 322 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.2119, allocations: 95.98 kB / 322.1 MB, free: 9.773 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.0008184/0.2127, allocations: 266.8 kB / 322.4 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.2129, allocations: 99.91 kB / 322.5 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009608/0.2139, allocations: 0.7264 MB / 323.2 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004039/0.2143, allocations: 324.1 kB / 323.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2143, allocations: 0 / 323.5 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.2143, allocations: 7.969 kB / 323.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006003/0.2203, allocations: 3.972 MB / 327.5 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/0.2203, allocations: 20 kB / 327.5 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005794/0.2209, allocations: 234 kB / 327.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.2212, allocations: 178.7 kB / 327.9 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.86e-05/0.2212, allocations: 28 kB / 327.9 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-05/0.2213, allocations: 51.98 kB / 328 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-05/0.2213, allocations: 42.48 kB / 328 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.333e-05/0.2213, allocations: 37.69 kB / 328.1 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.2227, allocations: 1.545 MB / 329.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.2229, allocations: 51.98 kB / 329.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/0.2234, allocations: 44.02 kB / 329.7 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.2235, allocations: 148.8 kB / 329.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.451e-05/0.2236, allocations: 47.98 kB / 329.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004374/0.224, allocations: 391.3 kB / 330.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.224, allocations: 0 / 330.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002323/0.2263, allocations: 0.8821 MB / 331.2 MB, free: 0.7266 MB / 298.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.0003101/0.2266, allocations: 192 kB / 331.3 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.2281, allocations: 0.9324 MB / 332.3 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.357e-05/0.2282, allocations: 40.02 kB / 332.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.2286, allocations: 301.8 kB / 332.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.2301, allocations: 467.3 kB / 333.1 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02214/0.2522, allocations: 6.165 MB / 339.2 MB, free: 8.652 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007904/0.253, allocations: 0.745 MB / 340 MB, free: 7.879 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006464/0.2536, allocations: 224.7 kB / 340.2 MB, free: 7.652 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004877/0.2541, allocations: 321.2 kB / 340.5 MB, free: 7.336 MB / 314.7 MB Notification: Performance of SimCode: time 1.223e-06/0.2541, allocations: 3.375 kB / 340.5 MB, free: 7.336 MB / 314.7 MB Notification: Performance of Templates: time 0.02782/0.2819, allocations: 18.03 MB / 358.5 MB, free: 5.59 MB / 330.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 -emit_protected -ignoreHideResult -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.840950687415898]