Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.001087/0.001087, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004883/0.005971, 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.001377/0.001377, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001659/0.003036, 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 0.9609/0.9609, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08522/1.046, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2752/0.2752, allocations: 34.88 MB / 279.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0239/0.2991, allocations: 13.24 MB / 292.8 MB, free: 6.379 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.58e-05, allocations: 4.703 kB / 294.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01493/0.01494, allocations: 21.34 MB / 315.4 MB, free: 15.63 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.02647, allocations: 5.898 MB / 321.3 MB, free: 9.715 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004116/0.03058, allocations: 230.8 kB / 321.6 MB, free: 9.488 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01155/0.04213, allocations: 10.09 MB / 331.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007227/0.04936, allocations: 2.228 MB / 333.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004109/0.05347, allocations: 1.892 MB / 335.8 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0133/0.06677, allocations: 15.12 MB / 350.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02923/0.096, allocations: 21.28 MB / 372.2 MB, free: 6.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02023/0.1162, allocations: 12.38 MB / 384.6 MB, free: 10.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01295/0.1292, allocations: 8.855 MB / 393.4 MB, free: 1.188 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006025/0.1352, allocations: 2.098 MB / 395.5 MB, free: 15.09 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009501/0.1447, allocations: 2.366 MB / 397.9 MB, free: 12.72 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007235/0.1519, allocations: 3.484 MB / 401.4 MB, free: 9.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01345/0.1654, allocations: 4.734 MB / 406.1 MB, free: 4.488 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01934/0.1847, allocations: 13.68 MB / 419.8 MB, free: 6.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.1847, allocations: 0 / 419.8 MB, free: 6.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1847, allocations: 0 / 419.8 MB, free: 6.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006538/0.1854, allocations: 4 kB / 419.8 MB, free: 6.766 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.039/0.2244, allocations: 21.25 MB / 441 MB, free: 1.391 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2244, allocations: 15.38 kB / 441.1 MB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2019/0.4264, allocations: 10.31 MB / 451.4 MB, free: 87.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/0.4379, allocations: 4.352 MB / 455.7 MB, free: 86.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000863/0.4388, allocations: 1.056 MB / 456.8 MB, free: 86.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004437/0.4432, allocations: 1.376 MB / 458.1 MB, free: 86.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03063/0.4738, allocations: 11.94 MB / 470.1 MB, free: 85.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004219/0.4743, allocations: 23.14 kB / 470.1 MB, free: 85.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002432/0.4767, allocations: 0.5733 MB / 470.7 MB, free: 85.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004591/0.4771, allocations: 0.6769 MB / 471.4 MB, free: 84.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/0.4919, allocations: 5.944 MB / 477.3 MB, free: 79.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05512/0.547, allocations: 41.84 MB / 0.507 GB, free: 39.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005469/0.5525, allocations: 5.638 MB / 0.5125 GB, free: 33.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.554, allocations: 1.277 MB / 0.5137 GB, free: 32.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01211/0.5661, allocations: 6.375 MB / 0.52 GB, free: 26.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.169e-05/0.5662, allocations: 88.5 kB / 0.52 GB, free: 26.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=465): time 8.737e-06/0.5662, allocations: 0 / 0.52 GB, free: 26.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=465): time 0.01714/0.5833, allocations: 6.6 MB / 0.5265 GB, free: 19.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.5834, allocations: 124.7 kB / 0.5266 GB, free: 19.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003481/0.5869, allocations: 3.215 MB / 0.5297 GB, free: 16.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004268/0.5873, allocations: 101.8 kB / 0.5298 GB, free: 16.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001951/0.5892, allocations: 5.633 MB / 0.5353 GB, free: 11.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001175/0.5904, allocations: 1.639 MB / 0.5369 GB, free: 9.707 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001608/0.592, allocations: 1.389 MB / 0.5383 GB, free: 8.465 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.587e-05/0.592, allocations: 313 kB / 0.5386 GB, free: 8.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.5936, allocations: 1.122 MB / 0.5397 GB, free: 7.035 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002209/0.5959, allocations: 3.9 MB / 0.5435 GB, free: 1.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006346/0.6022, allocations: 6.037 MB / 0.5494 GB, free: 11.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-05/0.6023, allocations: 28 kB / 0.5494 GB, free: 10.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.008653/0.6109, allocations: 5.033 MB / 0.5543 GB, free: 6.648 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.45e-05/0.611, allocations: 48 kB / 0.5544 GB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001337/0.6111, allocations: 104 kB / 0.5545 GB, free: 6.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003069/0.6142, allocations: 1.494 MB / 0.5559 GB, free: 5.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003206/0.6174, allocations: 1.626 MB / 0.5575 GB, free: 3.512 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003689/0.6178, allocations: 315.3 kB / 0.5578 GB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003341/0.6211, allocations: 0.8298 MB / 0.5586 GB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003908/0.6215, allocations: 312 kB / 0.5589 GB, free: 2.109 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.002703/0.6242, allocations: 0.63 MB / 0.5596 GB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007358/0.625, allocations: 427.6 kB / 0.56 GB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00422/0.6292, allocations: 3.239 MB / 0.5631 GB, free: 13.94 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/0.6292, allocations: 50.52 kB / 0.5632 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6292, allocations: 0 / 0.5632 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.596e-05/0.6292, allocations: 23.91 kB / 0.5632 GB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.6393, allocations: 6.648 MB / 0.5697 GB, free: 8.027 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.6393, allocations: 0 / 0.5697 GB, free: 8.027 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/0.6408, allocations: 0.678 MB / 0.5704 GB, free: 7.383 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.642, allocations: 0.7155 MB / 0.5711 GB, free: 6.668 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002307/0.6443, allocations: 1.361 MB / 0.5724 GB, free: 5.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/0.6445, allocations: 91.95 kB / 0.5725 GB, free: 5.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002697/0.6447, allocations: 138.8 kB / 0.5726 GB, free: 5.094 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6447, allocations: 0 / 0.5726 GB, free: 5.094 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00459/0.6493, allocations: 3.885 MB / 0.5764 GB, free: 1.312 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004775/0.6498, allocations: 79.98 kB / 0.5765 GB, free: 1.234 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.6509, allocations: 148 kB / 0.5766 GB, free: 1.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004109/0.6513, allocations: 299.2 kB / 0.5769 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001817/0.6515, allocations: 91.97 kB / 0.577 GB, free: 0.707 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001241/0.6527, allocations: 1.442 MB / 0.5784 GB, free: 15.44 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6527, allocations: 0 / 0.5784 GB, free: 15.44 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005268/0.658, allocations: 3.253 MB / 0.5816 GB, free: 12.18 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004843/0.6585, allocations: 237.3 kB / 0.5818 GB, free: 11.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005191/0.6636, allocations: 4.011 MB / 0.5857 GB, free: 8.383 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001881/0.6638, allocations: 122.6 kB / 0.5858 GB, free: 8.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002691/0.6665, allocations: 2.035 MB / 0.5878 GB, free: 6.312 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006362/0.6729, allocations: 10.99 MB / 0.5986 GB, free: 9.352 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2284/0.9013, allocations: 21.38 MB / 0.6194 GB, free: 132.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004179/0.9055, allocations: 2.818 MB / 0.6222 GB, free: 132.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002853/0.9083, allocations: 0.77 MB / 0.6229 GB, free: 132 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002359/0.9107, allocations: 1.124 MB / 0.624 GB, free: 131.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.783e-06/0.9107, allocations: 3.094 kB / 0.624 GB, free: 131.9 MB / 490.7 MB Notification: Performance of Templates: time 0.1104/1.021, allocations: 93.7 MB / 0.7155 GB, free: 58.36 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.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: 5.649915399029851]