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.0007712/0.0007712, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001356/0.002127, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007146/0.0007146, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001776, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 1.074/1.074, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08313/1.157, allocations: 53.87 MB / 243.9 MB, free: 14.87 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 1.363e-06/1.363e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.741e-05, allocations: 6.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.008858/0.008875, allocations: 8.699 MB / 253.9 MB, free: 4.844 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005593/0.01447, allocations: 2.747 MB / 256.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.01567, allocations: 83.56 kB / 256.7 MB, free: 2.004 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00537/0.02104, allocations: 3.974 MB / 260.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002789/0.02382, allocations: 0.7645 MB / 261.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.02564, allocations: 0.9111 MB / 262.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004392/0.03004, allocations: 3.8 MB / 266.2 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005322/0.03536, allocations: 6.22 MB / 272.4 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1121/0.1475, allocations: 3.265 MB / 275.7 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003848/0.1513, allocations: 2.337 MB / 278 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001745/0.1531, allocations: 0.585 MB / 278.6 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.1549, allocations: 0.8286 MB / 279.4 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000864/0.1557, allocations: 0.8937 MB / 280.3 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.1577, allocations: 1.292 MB / 281.6 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003763/0.1614, allocations: 3.756 MB / 285.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.284e-05/0.1614, allocations: 0 / 285.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1614, allocations: 3.25 kB / 285.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001634/0.1616, allocations: 0 / 285.4 MB, free: 5.879 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.008487/0.1701, allocations: 5.584 MB / 290.9 MB, free: 4.395 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.1701, allocations: 7.906 kB / 290.9 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00598/0.1761, allocations: 1.698 MB / 292.6 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.1781, allocations: 1.191 MB / 293.8 MB, free: 4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.1783, allocations: 319.6 kB / 294.2 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004867/0.1788, allocations: 413.1 kB / 294.6 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003836/0.1826, allocations: 2.724 MB / 297.3 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.348e-05/0.1827, allocations: 6.438 kB / 297.3 MB, free: 2.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003173/0.183, allocations: 168 kB / 297.4 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.1831, allocations: 172 kB / 297.6 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.185, allocations: 1.067 MB / 298.7 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01475/0.1997, allocations: 12.04 MB / 310.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.2016, allocations: 1.129 MB / 311.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005053/0.2021, allocations: 339.7 kB / 312.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.2023, allocations: 54.08 kB / 312.2 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.2023, allocations: 39.56 kB / 312.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of pre-optimization done (n=100): time 3.807e-06/0.2023, allocations: 4 kB / 312.3 MB, free: 3.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.0008708/0.2032, allocations: 0.5023 MB / 312.8 MB, free: 3.309 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2032, allocations: 64.39 kB / 312.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008275/0.204, allocations: 0.9353 MB / 313.8 MB, free: 2.465 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/0.2041, allocations: 41.7 kB / 313.8 MB, free: 2.418 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007823/0.2049, allocations: 1.751 MB / 315.6 MB, free: 0.707 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.2051, allocations: 380.8 kB / 315.9 MB, free: 364 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004583/0.2056, allocations: 414.2 kB / 316.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.479e-05/0.2056, allocations: 348.7 kB / 316.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.206, allocations: 291.2 kB / 317 MB, free: 15.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008134/0.2069, allocations: 1.19 MB / 318.2 MB, free: 13.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.2084, allocations: 1.792 MB / 320 MB, free: 11.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.678e-05/0.2084, allocations: 12 kB / 320 MB, free: 11.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001653/0.2101, allocations: 1.312 MB / 321.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.2101, allocations: 23.94 kB / 321.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-05/0.2101, allocations: 36 kB / 321.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.68e-05/0.2102, allocations: 48 kB / 321.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.2115, allocations: 0.5574 MB / 321.9 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.416e-05/0.2115, allocations: 70.81 kB / 322 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007182/0.2123, allocations: 258.1 kB / 322.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.895e-05/0.2123, allocations: 95.98 kB / 322.4 MB, free: 9.555 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.0005683/0.2129, allocations: 263.4 kB / 322.6 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.213, allocations: 102.8 kB / 322.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007369/0.2138, allocations: 0.7217 MB / 323.4 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002972/0.2141, allocations: 324.5 kB / 323.8 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2141, allocations: 4 kB / 323.8 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2141, allocations: 3.984 kB / 323.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004481/0.2186, allocations: 3.982 MB / 327.7 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/0.2186, allocations: 20 kB / 327.8 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004027/0.219, allocations: 229.9 kB / 328 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.2192, allocations: 184.2 kB / 328.2 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.547e-05/0.2192, allocations: 28 kB / 328.2 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.762e-05/0.2192, allocations: 51.98 kB / 328.2 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.721e-05/0.2193, allocations: 35.02 kB / 328.3 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/0.2193, allocations: 38.91 kB / 328.3 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.2203, allocations: 1.55 MB / 329.9 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.044e-05/0.2204, allocations: 43.98 kB / 329.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.2208, allocations: 40 kB / 330 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.2209, allocations: 149.6 kB / 330.1 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.2209, allocations: 48 kB / 330.1 MB, free: 1.746 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003106/0.2212, allocations: 393.1 kB / 330.5 MB, free: 1.398 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2212, allocations: 0 / 330.5 MB, free: 1.398 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001631/0.2229, allocations: 0.8754 MB / 331.4 MB, free: 0.5195 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.0002895/0.2232, allocations: 199.1 kB / 331.6 MB, free: 356 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.2242, allocations: 0.9694 MB / 332.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-05/0.2243, allocations: 42.56 kB / 332.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001397/0.2257, allocations: 0.972 MB / 333.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.2274, allocations: 2.335 MB / 335.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/0.2463, allocations: 5.828 MB / 341.7 MB, free: 5.785 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007528/0.2471, allocations: 0.7372 MB / 342.5 MB, free: 5.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007227/0.2478, allocations: 224.8 kB / 342.7 MB, free: 4.793 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004971/0.2483, allocations: 328.4 kB / 343 MB, free: 4.477 MB / 314.7 MB Notification: Performance of SimCode: time 1.954e-06/0.2483, allocations: 0 / 343 MB, free: 4.477 MB / 314.7 MB Notification: Performance of Templates: time 0.02646/0.2748, allocations: 16.38 MB / 359.4 MB, free: 4.285 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9997073551639915]