Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.002299/0.002299, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.002023/0.002023, allocations: 160.8 kB / 24.27 MB, free: 152 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 1.585/1.585, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.836e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01878/0.01881, allocations: 13.37 MB / 285.6 MB, free: 4.363 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0091/0.02791, allocations: 3.773 MB / 289.4 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.02993, allocations: 115.5 kB / 289.5 MB, free: 476 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1269/0.1568, allocations: 5.919 MB / 295.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004881/0.1617, allocations: 1.425 MB / 296.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.1643, allocations: 1.193 MB / 298 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006727/0.171, allocations: 6.683 MB / 304.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01139/0.1824, allocations: 9.09 MB / 313.8 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005573/0.1879, allocations: 4.988 MB / 318.8 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005354/0.1933, allocations: 3.709 MB / 322.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002345/0.1956, allocations: 0.8867 MB / 323.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003489/0.1991, allocations: 1.088 MB / 324.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002441/0.2016, allocations: 1.828 MB / 326.3 MB, free: 10.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005094/0.2067, allocations: 2.429 MB / 328.7 MB, free: 8.266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01571/0.2224, allocations: 12.21 MB / 340.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.2224, allocations: 8 kB / 340.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2224, allocations: 0 / 340.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003353/0.2227, allocations: 0 / 340.9 MB, free: 12.4 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: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.0243/0.247, allocations: 8.927 MB / 349.9 MB, free: 3.457 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2471, allocations: 15.92 kB / 349.9 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.021/0.2681, allocations: 3.759 MB / 353.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009924/0.278, allocations: 3.538 MB / 357.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005249/0.2785, allocations: 490.1 kB / 357.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002278/0.2808, allocations: 0.6238 MB / 358.3 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02454/0.3053, allocations: 9.71 MB / 368 MB, free: 1.426 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002382/0.3056, allocations: 11.95 kB / 368 MB, free: 1.414 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001355/0.3069, allocations: 260.2 kB / 368.2 MB, free: 1.164 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003864/0.3073, allocations: 316.7 kB / 368.6 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01596/0.3233, allocations: 7.169 MB / 375.7 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06022/0.3835, allocations: 32.88 MB / 408.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009142/0.3926, allocations: 3.739 MB / 412.3 MB, free: 4.684 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002485/0.3951, allocations: 1.331 MB / 413.7 MB, free: 3.355 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/0.3954, allocations: 85.92 kB / 413.8 MB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.179e-05/0.3954, allocations: 59.39 kB / 413.8 MB, free: 3.203 MB / 362.7 MB Notification: Performance of pre-optimization done (n=238): time 4.91e-06/0.3954, allocations: 0 / 413.8 MB, free: 3.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=238): time 0.008556/0.404, allocations: 3.694 MB / 417.5 MB, free: 15.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.797e-05/0.4041, allocations: 107 kB / 417.6 MB, free: 15.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004388/0.4085, allocations: 2.832 MB / 420.4 MB, free: 12.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.4086, allocations: 69.7 kB / 420.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002654/0.4113, allocations: 2.92 MB / 423.4 MB, free: 9.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009288/0.4122, allocations: 0.886 MB / 424.3 MB, free: 8.648 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001346/0.4136, allocations: 0.8512 MB / 425.2 MB, free: 7.785 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.4138, allocations: 476.8 kB / 425.6 MB, free: 7.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/0.4159, allocations: 1.193 MB / 426.8 MB, free: 6.121 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00398/0.4199, allocations: 3.048 MB / 429.9 MB, free: 2.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1292/0.5491, allocations: 4.641 MB / 434.5 MB, free: 103.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.364e-05/0.5492, allocations: 11.22 kB / 434.5 MB, free: 103.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008534/0.5577, allocations: 4.295 MB / 438.8 MB, free: 102.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.317e-05/0.5578, allocations: 21.25 kB / 438.8 MB, free: 102.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-05/0.5578, allocations: 37.84 kB / 438.9 MB, free: 102.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.5591, allocations: 377.3 kB / 439.2 MB, free: 102.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003585/0.5627, allocations: 0.7821 MB / 440 MB, free: 102.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006099/0.5688, allocations: 6.016 MB / 446 MB, free: 98.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003002/0.5718, allocations: 418.1 kB / 446.5 MB, free: 98.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005562/0.5724, allocations: 164.3 kB / 446.6 MB, free: 98.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003803/0.5762, allocations: 2.067 MB / 448.7 MB, free: 98.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006711/0.5768, allocations: 299.1 kB / 449 MB, free: 98.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004878/0.5817, allocations: 2.911 MB / 451.9 MB, free: 98.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.5817, allocations: 24.42 kB / 451.9 MB, free: 98.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.5817, allocations: 7.938 kB / 451.9 MB, free: 98.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.147e-05/0.5818, allocations: 11.16 kB / 451.9 MB, free: 98.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01751/0.5993, allocations: 11.44 MB / 463.4 MB, free: 93.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/0.5993, allocations: 15.06 kB / 463.4 MB, free: 93.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/0.6009, allocations: 441 kB / 463.8 MB, free: 93.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008624/0.6018, allocations: 338.8 kB / 464.1 MB, free: 93.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/0.6019, allocations: 79.92 kB / 464.2 MB, free: 93.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004101/0.606, allocations: 5.939 MB / 470.2 MB, free: 88.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-05/0.606, allocations: 27.12 kB / 470.2 MB, free: 88.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005379/0.6114, allocations: 4.697 MB / 474.9 MB, free: 85.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009982/0.6124, allocations: 447.6 kB / 475.3 MB, free: 85.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/0.6127, allocations: 75.47 kB / 475.4 MB, free: 85.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.6139, allocations: 120.8 kB / 475.5 MB, free: 85.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002884/0.6142, allocations: 218.1 kB / 475.7 MB, free: 85.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.6143, allocations: 87.94 kB / 475.8 MB, free: 85.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001558/0.6159, allocations: 1.464 MB / 477.3 MB, free: 83.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6159, allocations: 0 / 477.3 MB, free: 83.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003499/0.6194, allocations: 1.459 MB / 478.7 MB, free: 82.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003812/0.6197, allocations: 229 kB / 479 MB, free: 82.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004788/0.6245, allocations: 3.602 MB / 482.6 MB, free: 78.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.775e-05/0.6246, allocations: 4.438 kB / 482.6 MB, free: 78.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001957/0.6265, allocations: 1.692 MB / 484.3 MB, free: 77.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.6291, allocations: 0.5253 MB / 484.8 MB, free: 76.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.6412, allocations: 9.588 MB / 494.4 MB, free: 66.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002487/0.6437, allocations: 3.153 MB / 497.5 MB, free: 63.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00235/0.6461, allocations: 1.039 MB / 498.6 MB, free: 62.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004758/0.6466, allocations: 196.5 kB / 498.8 MB, free: 62.24 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6466, allocations: 0 / 498.8 MB, free: 62.24 MB / 378.7 MB Notification: Performance of Templates: time 0.04728/0.6938, allocations: 29.99 MB / 0.5163 GB, free: 32.6 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.953275094972923]