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.0008049/0.0008049, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.0009175/0.0009175, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9068/0.9068, allocations: 177 MB / 204.8 MB, free: 5.586 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.383e-06/1.383e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.874e-05, allocations: 9.203 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009116/0.009145, allocations: 8.887 MB / 281.8 MB, free: 8.523 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004908/0.01405, allocations: 2.604 MB / 284.4 MB, free: 5.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006597/0.01471, allocations: 83.62 kB / 284.5 MB, free: 5.828 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00525/0.01996, allocations: 3.994 MB / 288.5 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.02177, allocations: 0.7684 MB / 289.2 MB, free: 1.043 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.02325, allocations: 0.919 MB / 290.2 MB, free: 124 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1209/0.1442, allocations: 3.769 MB / 293.9 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007849/0.152, allocations: 6.137 MB / 300.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004079/0.1561, allocations: 3.211 MB / 303.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/0.1588, allocations: 2.302 MB / 305.6 MB, free: 9.305 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000761/0.1596, allocations: 0.5845 MB / 306.2 MB, free: 9.305 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.1608, allocations: 0.8103 MB / 307 MB, free: 9.254 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006112/0.1614, allocations: 1.148 MB / 308.1 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.1628, allocations: 1.541 MB / 309.7 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003234/0.1661, allocations: 3.969 MB / 313.6 MB, free: 5.625 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1661, allocations: 0.6562 kB / 313.6 MB, free: 5.625 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1661, allocations: 0 / 313.6 MB, free: 5.625 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.942e-05/0.1661, allocations: 4.344 kB / 313.6 MB, free: 5.625 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.007174/0.1733, allocations: 5.291 MB / 318.9 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1733, allocations: 15.98 kB / 319 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005616/0.1789, allocations: 1.781 MB / 320.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.1812, allocations: 2.162 MB / 322.9 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.1814, allocations: 325.9 kB / 323.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003649/0.1817, allocations: 414.5 kB / 323.6 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004045/0.1858, allocations: 2.507 MB / 326.1 MB, free: 9.566 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.988e-05/0.1858, allocations: 0 / 326.1 MB, free: 9.566 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/0.1861, allocations: 168 kB / 326.3 MB, free: 9.402 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001241/0.1862, allocations: 180.6 kB / 326.5 MB, free: 9.223 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002814/0.189, allocations: 1.537 MB / 328 MB, free: 7.668 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01427/0.2033, allocations: 15.72 MB / 343.7 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.2053, allocations: 1.527 MB / 345.3 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000567/0.2059, allocations: 417.3 kB / 345.7 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.206, allocations: 44.97 kB / 345.7 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.2061, allocations: 53.95 kB / 345.8 MB, free: 5.773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 3.476e-06/0.2061, allocations: 4 kB / 345.8 MB, free: 5.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.001119/0.2072, allocations: 0.7848 MB / 346.5 MB, free: 4.984 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.2072, allocations: 72.33 kB / 346.6 MB, free: 4.898 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.2085, allocations: 1.395 MB / 348 MB, free: 3.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.2085, allocations: 41.7 kB / 348 MB, free: 3.438 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008536/0.2094, allocations: 1.952 MB / 350 MB, free: 1.477 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000228/0.2096, allocations: 390.9 kB / 350.4 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000436/0.2101, allocations: 0.5092 MB / 350.9 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2102, allocations: 0.5277 MB / 351.4 MB, free: 44 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.2107, allocations: 284.1 kB / 351.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.2117, allocations: 1.785 MB / 353.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.2134, allocations: 2.26 MB / 355.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/0.2134, allocations: 14 kB / 355.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.00194/0.2154, allocations: 1.762 MB / 357.5 MB, free: 8.996 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.2154, allocations: 20 kB / 357.5 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.877e-05/0.2154, allocations: 32 kB / 357.6 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.698e-05/0.2155, allocations: 48 kB / 357.6 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008904/0.2164, allocations: 0.5202 MB / 358.1 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.956e-05/0.2164, allocations: 69.66 kB / 358.2 MB, free: 8.363 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007109/0.2171, allocations: 294.4 kB / 358.5 MB, free: 8.074 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.2172, allocations: 120 kB / 358.6 MB, free: 7.957 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.0006317/0.2179, allocations: 312.9 kB / 358.9 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.218, allocations: 159.2 kB / 359.1 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.2191, allocations: 0.9404 MB / 360 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005811/0.2197, allocations: 0.5052 MB / 360.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.2197, allocations: 3.984 kB / 360.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.2197, allocations: 3.984 kB / 360.5 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006196/0.2259, allocations: 4.95 MB / 365.5 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.2259, allocations: 20 kB / 365.5 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/0.2263, allocations: 234.4 kB / 365.7 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.759e-05/0.2264, allocations: 28 kB / 365.7 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/0.2264, allocations: 59.92 kB / 365.8 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.932e-05/0.2264, allocations: 42.95 kB / 365.8 MB, free: 484 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-05/0.2265, allocations: 35.06 kB / 365.9 MB, free: 456 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.2281, allocations: 1.918 MB / 367.8 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.2283, allocations: 238.9 kB / 368 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.767e-05/0.2284, allocations: 63.84 kB / 368.1 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.2288, allocations: 67.98 kB / 368.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.2289, allocations: 149.8 kB / 368.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.229, allocations: 56 kB / 368.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005884/0.2296, allocations: 0.6327 MB / 369 MB, free: 12.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2296, allocations: 0 / 369 MB, free: 12.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001729/0.2313, allocations: 0.8754 MB / 369.9 MB, free: 12.06 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.000263/0.2316, allocations: 211.3 kB / 370.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.2329, allocations: 1.137 MB / 371.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.2329, allocations: 4.5 kB / 371.2 MB, free: 10.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.2332, allocations: 335.8 kB / 371.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.2343, allocations: 355.8 kB / 371.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006671/0.241, allocations: 5.819 MB / 377.7 MB, free: 4.035 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007912/0.2418, allocations: 1.01 MB / 378.7 MB, free: 3 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009809/0.2428, allocations: 0.6678 MB / 379.4 MB, free: 2.324 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.243, allocations: 120.5 kB / 379.5 MB, free: 2.207 MB / 330.7 MB Notification: Performance of SimCode: time 1.903e-06/0.243, allocations: 0 / 379.5 MB, free: 2.207 MB / 330.7 MB Notification: Performance of Templates: time 0.0229/0.2659, allocations: 16.83 MB / 396.3 MB, free: 1.699 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: 2.9758405252359807]