Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009868/0.0009868, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009423/0.0009423, allocations: 165.1 kB / 25.61 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9002/0.9002, allocations: 177.1 MB / 206.1 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 3.938 kB / 274.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.56e-05, allocations: 3.281 kB / 274.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.007202/0.007217, allocations: 8.587 MB / 282.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003774/0.01099, allocations: 2.588 MB / 285.4 MB, free: 9.242 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004791/0.01147, allocations: 79.62 kB / 285.4 MB, free: 9.164 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003466/0.01494, allocations: 3.873 MB / 289.3 MB, free: 5.273 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.01609, allocations: 0.7723 MB / 290.1 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009429/0.01703, allocations: 0.9072 MB / 291 MB, free: 3.586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002154/0.01919, allocations: 3.773 MB / 294.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005173/0.02436, allocations: 6.14 MB / 300.9 MB, free: 9.566 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002224/0.02658, allocations: 3.21 MB / 304.1 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/0.02837, allocations: 2.308 MB / 306.4 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000569/0.02893, allocations: 0.5859 MB / 307 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007637/0.0297, allocations: 0.8159 MB / 307.8 MB, free: 2.637 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006001/0.0303, allocations: 1.145 MB / 309 MB, free: 1.488 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00184/0.03214, allocations: 1.54 MB / 310.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004475/0.03661, allocations: 3.969 MB / 314.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.03662, allocations: 3.938 kB / 314.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.03662, allocations: 0 / 314.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001908/0.03681, allocations: 0 / 314.5 MB, free: 11.96 MB / 298.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.008758/0.04557, allocations: 5.161 MB / 319.7 MB, free: 6.734 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.0456, allocations: 12.03 kB / 319.7 MB, free: 6.723 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0049/0.0505, allocations: 1.665 MB / 321.3 MB, free: 5.055 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/0.05344, allocations: 2.019 MB / 323.3 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/0.05364, allocations: 308.8 kB / 323.6 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006384/0.05427, allocations: 415.9 kB / 324.1 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00459/0.05886, allocations: 2.208 MB / 326.3 MB, free: 24 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.616e-05/0.05894, allocations: 3.953 kB / 326.3 MB, free: 20 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003429/0.05928, allocations: 175.9 kB / 326.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000148/0.05943, allocations: 180.5 kB / 326.6 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/0.06196, allocations: 1.228 MB / 327.8 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02276/0.08473, allocations: 15.53 MB / 343.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.08642, allocations: 1.194 MB / 344.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004898/0.08691, allocations: 373.4 kB / 344.9 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.08703, allocations: 44.95 kB / 345 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.08706, allocations: 50.39 kB / 345 MB, free: 12.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=100): time 3.817e-06/0.08707, allocations: 0 / 345 MB, free: 12.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=100): time 0.000983/0.08805, allocations: 0.6988 MB / 345.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.08809, allocations: 64.41 kB / 345.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.08935, allocations: 1.383 MB / 347.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.0894, allocations: 41.7 kB / 347.2 MB, free: 10.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009701/0.09037, allocations: 1.955 MB / 349.2 MB, free: 8.461 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.09062, allocations: 392.8 kB / 349.5 MB, free: 8.074 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007051/0.09132, allocations: 0.5207 MB / 350.1 MB, free: 7.543 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.09147, allocations: 0.5354 MB / 350.6 MB, free: 7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.09176, allocations: 224.1 kB / 350.8 MB, free: 6.777 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009257/0.09269, allocations: 1.722 MB / 352.5 MB, free: 4.398 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.09424, allocations: 2.169 MB / 354.7 MB, free: 1.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.426e-05/0.09427, allocations: 8 kB / 354.7 MB, free: 1.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.1472/0.2414, allocations: 1.622 MB / 356.3 MB, free: 63.28 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.2415, allocations: 22.81 kB / 356.4 MB, free: 63.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.924e-05/0.2415, allocations: 33.22 kB / 356.4 MB, free: 63.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.071e-05/0.2416, allocations: 48.09 kB / 356.4 MB, free: 63.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.243, allocations: 0.489 MB / 356.9 MB, free: 63.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.037e-05/0.243, allocations: 69.64 kB / 357 MB, free: 63.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.244, allocations: 253.2 kB / 357.2 MB, free: 63.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.2442, allocations: 99.33 kB / 357.3 MB, free: 63.28 MB / 330.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.0009117/0.2451, allocations: 311 kB / 357.6 MB, free: 63.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/0.2454, allocations: 161.1 kB / 357.8 MB, free: 63.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.2466, allocations: 0.8821 MB / 358.7 MB, free: 63.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000573/0.2472, allocations: 445.1 kB / 359.1 MB, free: 62.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2472, allocations: 1.312 kB / 359.1 MB, free: 62.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.988e-05/0.2472, allocations: 7.062 kB / 359.1 MB, free: 62.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00698/0.2542, allocations: 4.899 MB / 364 MB, free: 61.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.2542, allocations: 24.28 kB / 364.1 MB, free: 61.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003929/0.2546, allocations: 204.4 kB / 364.3 MB, free: 61.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.831e-05/0.2546, allocations: 28.69 kB / 364.3 MB, free: 61.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.2547, allocations: 51.91 kB / 364.3 MB, free: 61.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.627e-05/0.2547, allocations: 40.86 kB / 364.4 MB, free: 61.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.475e-05/0.2547, allocations: 34.84 kB / 364.4 MB, free: 61.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.2561, allocations: 1.817 MB / 366.2 MB, free: 60.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003525/0.2564, allocations: 230.9 kB / 366.4 MB, free: 60.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.2566, allocations: 52.39 kB / 366.5 MB, free: 60.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004143/0.257, allocations: 38.45 kB / 366.5 MB, free: 60.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.2571, allocations: 156.7 kB / 366.7 MB, free: 59.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/0.2571, allocations: 49.81 kB / 366.7 MB, free: 59.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004762/0.2576, allocations: 0.5933 MB / 367.3 MB, free: 59.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2576, allocations: 0.875 kB / 367.3 MB, free: 59.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00212/0.2597, allocations: 0.8811 MB / 368.2 MB, free: 59.7 MB / 330.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.000304/0.26, allocations: 211.1 kB / 368.4 MB, free: 59.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.2614, allocations: 1.065 MB / 369.5 MB, free: 59.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.2614, allocations: 0 / 369.5 MB, free: 59.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.2617, allocations: 331.5 kB / 369.8 MB, free: 59.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.2629, allocations: 342 kB / 370.1 MB, free: 59.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006399/0.2693, allocations: 5.81 MB / 376 MB, free: 56.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008809/0.2702, allocations: 1.01 MB / 377 MB, free: 56.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006421/0.2708, allocations: 220.4 kB / 377.2 MB, free: 56.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004651/0.2713, allocations: 366.4 kB / 377.5 MB, free: 56.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.754e-06/0.2713, allocations: 0 / 377.5 MB, free: 56.14 MB / 330.7 MB Notification: Performance of Templates: time 0.02357/0.2948, allocations: 17.46 MB / 395 MB, free: 42.98 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 3.2164011909626424]