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.0009775/0.0009775, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001048/0.001048, allocations: 165.2 kB / 24.99 MB, free: 8.219 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.9637/0.9637, allocations: 177 MB / 205.2 MB, free: 5.52 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.843e-06/1.843e-06, allocations: 0 / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.667e-05, allocations: 5.406 kB / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.007487/0.007514, allocations: 8.836 MB / 281.8 MB, free: 8.828 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004761/0.01227, allocations: 2.6 MB / 284.4 MB, free: 6.219 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009825/0.01326, allocations: 75.69 kB / 284.5 MB, free: 6.145 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004238/0.0175, allocations: 3.987 MB / 288.5 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.01982, allocations: 0.7684 MB / 289.3 MB, free: 1.367 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.0212, allocations: 0.9144 MB / 290.2 MB, free: 464 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1138/0.135, allocations: 3.774 MB / 293.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008256/0.1433, allocations: 6.139 MB / 300.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004183/0.1475, allocations: 3.205 MB / 303.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003248/0.1507, allocations: 2.286 MB / 305.6 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001346/0.1521, allocations: 0.5851 MB / 306.2 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.1535, allocations: 0.8082 MB / 307 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006957/0.1542, allocations: 1.146 MB / 308.1 MB, free: 8.508 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001871/0.1561, allocations: 1.546 MB / 309.7 MB, free: 7.773 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003759/0.1598, allocations: 3.98 MB / 313.6 MB, free: 5.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1598, allocations: 0 / 313.6 MB, free: 5.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1598, allocations: 0 / 313.6 MB, free: 5.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001415/0.16, allocations: 0.875 kB / 313.6 MB, free: 5.77 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.008512/0.1685, allocations: 5.287 MB / 318.9 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1685, allocations: 12.61 kB / 318.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007385/0.1759, allocations: 1.784 MB / 320.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003205/0.1791, allocations: 2.176 MB / 322.9 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/0.1793, allocations: 313.6 kB / 323.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005415/0.1799, allocations: 410.2 kB / 323.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005686/0.1856, allocations: 2.506 MB / 326.1 MB, free: 9.785 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.979e-05/0.1856, allocations: 3.953 kB / 326.1 MB, free: 9.781 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003458/0.186, allocations: 172 kB / 326.3 MB, free: 9.613 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/0.1862, allocations: 176.6 kB / 326.5 MB, free: 9.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007325/0.1935, allocations: 1.541 MB / 328 MB, free: 7.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04144/0.2349, allocations: 15.72 MB / 343.7 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00577/0.2407, allocations: 1.522 MB / 345.2 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007226/0.2414, allocations: 417.8 kB / 345.6 MB, free: 6.102 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003164/0.2446, allocations: 52.95 kB / 345.7 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.2446, allocations: 50.33 kB / 345.7 MB, free: 5.988 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 4.87e-06/0.2446, allocations: 2.812 kB / 345.8 MB, free: 5.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.001573/0.2462, allocations: 0.7926 MB / 346.5 MB, free: 5.195 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.2462, allocations: 63.41 kB / 346.6 MB, free: 5.121 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003628/0.2499, allocations: 1.391 MB / 348 MB, free: 3.711 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.2499, allocations: 45.7 kB / 348 MB, free: 3.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.2511, allocations: 1.95 MB / 350 MB, free: 1.699 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.2513, allocations: 384.3 kB / 350.4 MB, free: 1.324 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000424/0.2517, allocations: 0.5161 MB / 350.9 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2519, allocations: 0.5277 MB / 351.4 MB, free: 272 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004724/0.2523, allocations: 288.1 kB / 351.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.2534, allocations: 1.78 MB / 353.5 MB, free: 13.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/0.2554, allocations: 2.258 MB / 355.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.929e-05/0.2554, allocations: 8 kB / 355.7 MB, free: 10.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.002138/0.2575, allocations: 1.769 MB / 357.5 MB, free: 9.219 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.2576, allocations: 23.94 kB / 357.5 MB, free: 9.195 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.22e-05/0.2576, allocations: 32 kB / 357.6 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.845e-05/0.2576, allocations: 48 kB / 357.6 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009379/0.2586, allocations: 0.5182 MB / 358.1 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.394e-05/0.2586, allocations: 70.34 kB / 358.2 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007948/0.2594, allocations: 294.1 kB / 358.5 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.2595, allocations: 116 kB / 358.6 MB, free: 8.18 MB / 314.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.0007549/0.2603, allocations: 314.5 kB / 358.9 MB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.2605, allocations: 163.1 kB / 359.1 MB, free: 7.742 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.2616, allocations: 0.9315 MB / 360 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006274/0.2622, allocations: 0.5126 MB / 360.5 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2623, allocations: 0 / 360.5 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.2623, allocations: 11.97 kB / 360.5 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00729/0.2696, allocations: 4.949 MB / 365.5 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/0.2696, allocations: 24 kB / 365.5 MB, free: 1.012 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.27, allocations: 229.1 kB / 365.7 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.839e-05/0.27, allocations: 32.03 kB / 365.7 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.596e-05/0.2701, allocations: 47.98 kB / 365.8 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-05/0.2701, allocations: 42.58 kB / 365.8 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-05/0.2701, allocations: 31.31 kB / 365.9 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.2719, allocations: 1.925 MB / 367.8 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/0.2723, allocations: 242.9 kB / 368 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.2724, allocations: 59.91 kB / 368.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.2728, allocations: 63.95 kB / 368.1 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.273, allocations: 154.1 kB / 368.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.083e-05/0.273, allocations: 56 kB / 368.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006607/0.2737, allocations: 0.6327 MB / 369 MB, free: 13.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2737, allocations: 0 / 369 MB, free: 13.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001893/0.2756, allocations: 0.8793 MB / 369.9 MB, free: 12.28 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.0002925/0.2759, allocations: 209.5 kB / 370.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.2774, allocations: 1.127 MB / 371.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.2774, allocations: 8.062 kB / 371.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000449/0.2778, allocations: 343.7 kB / 371.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.279, allocations: 348.2 kB / 371.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007451/0.2864, allocations: 5.822 MB / 377.7 MB, free: 4.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008281/0.2873, allocations: 1.008 MB / 378.7 MB, free: 3.215 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001041/0.2883, allocations: 0.6678 MB / 379.4 MB, free: 2.539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.2885, allocations: 116.5 kB / 379.5 MB, free: 2.426 MB / 330.7 MB Notification: Performance of SimCode: time 2.014e-06/0.2885, allocations: 4 kB / 379.5 MB, free: 2.422 MB / 330.7 MB Notification: Performance of Templates: time 0.02266/0.3112, allocations: 15.77 MB / 395.3 MB, free: 2.953 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 -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: 3.1480285220313817]