Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.001882/0.001882, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002063/0.002063, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 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 1.584/1.584, allocations: 177.1 MB / 204.6 MB, free: 5.234 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3927/0.3927, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.893e-05/4.103e-05, allocations: 2.312 kB / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.05019/0.05024, allocations: 21.77 MB / 399.1 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01477/0.065, allocations: 5.522 MB / 404.6 MB, free: 7.586 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005319/0.07032, allocations: 238.8 kB / 404.8 MB, free: 7.352 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02543/0.09576, allocations: 10.11 MB / 414.9 MB, free: 13.2 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009211/0.105, allocations: 2.24 MB / 417.2 MB, free: 10.95 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007409/0.1124, allocations: 1.889 MB / 419 MB, free: 9.066 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0216/0.134, allocations: 15.02 MB / 434.1 MB, free: 9.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4034/0.5374, allocations: 21.18 MB / 455.2 MB, free: 47.58 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02359/0.561, allocations: 12.01 MB / 467.3 MB, free: 47.58 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01342/0.5744, allocations: 8.717 MB / 476 MB, free: 47.16 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.006939/0.5814, allocations: 2.1 MB / 478.1 MB, free: 47.16 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009961/0.5913, allocations: 2.354 MB / 480.4 MB, free: 47.11 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008205/0.5995, allocations: 4.488 MB / 484.9 MB, free: 44.9 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01447/0.614, allocations: 5.748 MB / 490.7 MB, free: 42.5 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03161/0.6456, allocations: 29.28 MB / 0.5078 GB, free: 29.21 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6456, allocations: 0 / 0.5078 GB, free: 29.21 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.052e-06/0.6456, allocations: 4.188 kB / 0.5078 GB, free: 29.21 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0009084/0.6465, allocations: 0 / 0.5078 GB, free: 29.21 MB / 410.8 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.05586/0.7024, allocations: 21.41 MB / 0.5287 GB, free: 12.43 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.7024, allocations: 8.031 kB / 0.5287 GB, free: 12.42 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09241/0.7948, allocations: 13.82 MB / 0.5422 GB, free: 14.72 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02816/0.823, allocations: 8.318 MB / 0.5503 GB, free: 6.727 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001377/0.8244, allocations: 1.056 MB / 0.5513 GB, free: 5.68 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005884/0.8303, allocations: 1.381 MB / 0.5527 GB, free: 4.312 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0732/0.9035, allocations: 24.26 MB / 0.5764 GB, free: 11.88 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009137/0.9044, allocations: 19.69 kB / 0.5764 GB, free: 11.87 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007196/0.9116, allocations: 0.5759 MB / 0.577 GB, free: 11.3 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001329/0.9129, allocations: 0.6939 MB / 0.5776 GB, free: 10.61 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06138/0.9743, allocations: 19.33 MB / 0.5965 GB, free: 7.266 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3632/1.337, allocations: 86.08 MB / 0.6806 GB, free: 54.59 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01669/1.354, allocations: 10.67 MB / 0.691 GB, free: 51.39 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006813/1.361, allocations: 3.999 MB / 0.6949 GB, free: 50.06 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02931/1.39, allocations: 13.28 MB / 0.7079 GB, free: 38.9 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/1.39, allocations: 88.69 kB / 0.708 GB, free: 38.81 MB / 474.8 MB Notification: Performance of pre-optimization done (n=465): time 7.755e-06/1.39, allocations: 0 / 0.708 GB, free: 38.81 MB / 474.8 MB Notification: Performance of matching and sorting (n=465): time 0.03214/1.422, allocations: 14.22 MB / 0.7218 GB, free: 24.58 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/1.423, allocations: 128.6 kB / 0.722 GB, free: 24.44 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008594/1.431, allocations: 7.037 MB / 0.7288 GB, free: 17.42 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006697/1.432, allocations: 97.7 kB / 0.7289 GB, free: 17.32 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003448/1.435, allocations: 6.733 MB / 0.7355 GB, free: 10.57 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00162/1.437, allocations: 1.794 MB / 0.7373 GB, free: 8.797 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00253/1.439, allocations: 1.998 MB / 0.7392 GB, free: 6.789 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.607e-05/1.439, allocations: 484.7 kB / 0.7397 GB, free: 6.312 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005012/1.444, allocations: 3.512 MB / 0.7431 GB, free: 2.797 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01171/1.456, allocations: 8.456 MB / 0.7514 GB, free: 8.406 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02133/1.478, allocations: 12.61 MB / 0.7637 GB, free: 10.21 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001445/1.478, allocations: 28 kB / 0.7637 GB, free: 10.19 MB / 0.4949 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02555/1.503, allocations: 12.25 MB / 0.7757 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.867e-05/1.503, allocations: 49.88 kB / 0.7757 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001935/1.504, allocations: 104 kB / 0.7758 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007444/1.511, allocations: 3.009 MB / 0.7788 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006108/1.517, allocations: 1.589 MB / 0.7803 GB, free: 9.949 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008553/1.518, allocations: 381.4 kB / 0.7807 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005859/1.524, allocations: 1.035 MB / 0.7817 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/1.525, allocations: 395.9 kB / 0.7821 GB, free: 8.184 MB / 0.5105 GB 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.01102/1.536, allocations: 4.971 MB / 0.7869 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001966/1.538, allocations: 0.6413 MB / 0.7875 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1967/1.735, allocations: 8.486 MB / 0.7958 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.101e-05/1.735, allocations: 50.41 kB / 0.7959 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/1.735, allocations: 0 / 0.7959 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.995e-05/1.735, allocations: 23.2 kB / 0.7959 GB, free: 153.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03541/1.77, allocations: 22.03 MB / 0.8174 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/1.77, allocations: 0 / 0.8174 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003103/1.773, allocations: 0.728 MB / 0.8181 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005895/1.779, allocations: 2.863 MB / 0.8209 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006114/1.78, allocations: 101.5 kB / 0.821 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006785/1.78, allocations: 184.2 kB / 0.8212 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.78, allocations: 1.281 kB / 0.8212 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01895/1.799, allocations: 12.66 MB / 0.8336 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003676/1.803, allocations: 1.18 MB / 0.8347 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/1.804, allocations: 79.44 kB / 0.8348 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002759/1.807, allocations: 352.9 kB / 0.8351 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007101/1.807, allocations: 352.2 kB / 0.8355 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003158/1.808, allocations: 138.5 kB / 0.8356 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00501/1.813, allocations: 3.576 MB / 0.8391 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/1.813, allocations: 0 / 0.8391 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008289/1.821, allocations: 3.25 MB / 0.8423 GB, free: 144.6 MB / 0.5105 GB 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.0009739/1.822, allocations: 261.6 kB / 0.8425 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0151/1.837, allocations: 9.268 MB / 0.8516 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.837, allocations: 0 / 0.8516 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006938/1.844, allocations: 3.98 MB / 0.8554 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005993/1.85, allocations: 1.343 MB / 0.8568 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03413/1.884, allocations: 22.84 MB / 0.8791 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008401/1.893, allocations: 7.715 MB / 0.8866 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005506/1.898, allocations: 2.411 MB / 0.8889 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.899, allocations: 396.4 kB / 0.8893 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.814e-06/1.899, allocations: 0 / 0.8893 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.1141/2.013, allocations: 81.69 MB / 0.9691 GB, free: 25.34 MB / 0.5105 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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: 10.059494483983144]