Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001416/0.001416, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001123/0.001123, allocations: 168.6 kB / 25.61 MB, free: 8.586 MB / 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 0.993/0.993, allocations: 177.1 MB / 206 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1401/0.1401, allocations: 32.81 MB / 295.4 MB, free: 15.41 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 3.938 kB / 377.3 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.581e-05, allocations: 2.312 kB / 377.3 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01791/0.01794, allocations: 21.14 MB / 398.4 MB, free: 4.375 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.03057, allocations: 5.506 MB / 403.9 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003599/0.03417, allocations: 230.8 kB / 404.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.04433, allocations: 9.862 MB / 414 MB, free: 4.715 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005999/0.05033, allocations: 2.252 MB / 416.2 MB, free: 2.449 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003024/0.05336, allocations: 1.868 MB / 418.1 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01265/0.06601, allocations: 15.02 MB / 433.1 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02939/0.0954, allocations: 21.2 MB / 454.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01711/0.1125, allocations: 12.02 MB / 466.4 MB, free: 52 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.012/0.1245, allocations: 8.804 MB / 475.2 MB, free: 7.23 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00524/0.1297, allocations: 2.098 MB / 477.3 MB, free: 5.133 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005939/0.1357, allocations: 2.351 MB / 479.6 MB, free: 2.781 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005212/0.1409, allocations: 4.492 MB / 484.1 MB, free: 14.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009197/0.1501, allocations: 5.739 MB / 489.8 MB, free: 8.527 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3262/0.4762, allocations: 14.51 MB / 0.4925 GB, free: 67.28 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.4763, allocations: 0 / 0.4925 GB, free: 67.28 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4763, allocations: 0 / 0.4925 GB, free: 67.28 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0005956/0.4769, allocations: 0 / 0.4925 GB, free: 67.28 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.03273/0.5096, allocations: 19.43 MB / 0.5115 GB, free: 62.5 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.5096, allocations: 15.48 kB / 0.5115 GB, free: 62.5 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02983/0.5394, allocations: 9.666 MB / 0.521 GB, free: 61.21 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01686/0.5563, allocations: 7.479 MB / 0.5283 GB, free: 56.26 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007485/0.5571, allocations: 1.054 MB / 0.5293 GB, free: 55.78 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005895/0.5629, allocations: 1.381 MB / 0.5306 GB, free: 55.33 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02178/0.5847, allocations: 11.68 MB / 0.5421 GB, free: 44.29 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002723/0.585, allocations: 21.95 kB / 0.5421 GB, free: 44.27 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/0.5861, allocations: 0.5684 MB / 0.5426 GB, free: 43.71 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004006/0.5865, allocations: 0.7095 MB / 0.5433 GB, free: 43 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00898/0.5955, allocations: 5.265 MB / 0.5485 GB, free: 37.73 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06265/0.6581, allocations: 54.6 MB / 0.6018 GB, free: 0.8008 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007068/0.6652, allocations: 7.536 MB / 0.6091 GB, free: 10.75 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/0.6669, allocations: 1.525 MB / 0.6106 GB, free: 9.258 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01218/0.6791, allocations: 8.309 MB / 0.6187 GB, free: 1.238 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.6792, allocations: 92.94 kB / 0.6188 GB, free: 1.137 MB / 442.8 MB Notification: Performance of pre-optimization done (n=465): time 5.641e-06/0.6792, allocations: 0 / 0.6188 GB, free: 1.137 MB / 442.8 MB Notification: Performance of matching and sorting (n=465): time 0.01519/0.6944, allocations: 7.635 MB / 0.6263 GB, free: 9.516 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.6944, allocations: 124.7 kB / 0.6264 GB, free: 9.375 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004865/0.6993, allocations: 4.719 MB / 0.631 GB, free: 5.289 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002386/0.6995, allocations: 101.7 kB / 0.6311 GB, free: 5.184 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00364/0.7032, allocations: 6.485 MB / 0.6375 GB, free: 14.86 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001425/0.7046, allocations: 1.75 MB / 0.6392 GB, free: 13.2 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001754/0.7063, allocations: 1.791 MB / 0.6409 GB, free: 11.55 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.7064, allocations: 480.5 kB / 0.6414 GB, free: 11.09 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.7078, allocations: 0.9045 MB / 0.6422 GB, free: 10.18 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004002/0.7118, allocations: 5.665 MB / 0.6478 GB, free: 2.762 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006014/0.7178, allocations: 7.297 MB / 0.6549 GB, free: 10.08 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.7e-05/0.7178, allocations: 32 kB / 0.6549 GB, free: 10.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.00858/0.7264, allocations: 6.188 MB / 0.661 GB, free: 4.535 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.123e-05/0.7265, allocations: 48 kB / 0.661 GB, free: 4.488 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/0.7266, allocations: 104.9 kB / 0.6611 GB, free: 4.387 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002646/0.7293, allocations: 1.605 MB / 0.6627 GB, free: 2.793 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/0.7319, allocations: 1.439 MB / 0.6641 GB, free: 1.469 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004197/0.7323, allocations: 356.8 kB / 0.6644 GB, free: 1.164 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003311/0.7356, allocations: 0.8259 MB / 0.6652 GB, free: 340 kB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003578/0.736, allocations: 327.9 kB / 0.6656 GB, free: 12 kB / 490.8 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.2007/0.9367, allocations: 0.6635 MB / 0.6662 GB, free: 130.3 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/0.9378, allocations: 0.6379 MB / 0.6668 GB, free: 130.3 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006231/0.9441, allocations: 3.978 MB / 0.6707 GB, free: 130.1 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.198e-05/0.9441, allocations: 50.78 kB / 0.6708 GB, free: 130.1 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.9441, allocations: 0 / 0.6708 GB, free: 130.1 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.353e-05/0.9441, allocations: 27.14 kB / 0.6708 GB, free: 130.1 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/0.9619, allocations: 10.36 MB / 0.6809 GB, free: 129.5 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.9619, allocations: 2.516 kB / 0.6809 GB, free: 129.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/0.9638, allocations: 0.5803 MB / 0.6815 GB, free: 129.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003274/0.9671, allocations: 1.463 MB / 0.6829 GB, free: 129.4 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000317/0.9674, allocations: 113.3 kB / 0.683 GB, free: 129.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004028/0.9678, allocations: 175.1 kB / 0.6832 GB, free: 129.4 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9678, allocations: 3.719 kB / 0.6832 GB, free: 129.4 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007614/0.9754, allocations: 4.8 MB / 0.6879 GB, free: 128.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001922/0.9773, allocations: 1.046 MB / 0.6889 GB, free: 128.7 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005639/0.9779, allocations: 82.73 kB / 0.689 GB, free: 128.7 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/0.9794, allocations: 153.3 kB / 0.6891 GB, free: 128.7 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005596/0.98, allocations: 303.5 kB / 0.6894 GB, free: 128.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00027/0.9803, allocations: 104.9 kB / 0.6895 GB, free: 128.7 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002678/0.9829, allocations: 1.921 MB / 0.6914 GB, free: 128.5 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.51e-07/0.9829, allocations: 0 / 0.6914 GB, free: 128.5 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.007772/0.9907, allocations: 3.256 MB / 0.6946 GB, free: 127.7 MB / 490.8 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.000645/0.9914, allocations: 257.2 kB / 0.6948 GB, free: 127.6 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.006613/0.998, allocations: 4.538 MB / 0.6992 GB, free: 127.3 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.998, allocations: 0 / 0.6992 GB, free: 127.3 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002464/1, allocations: 2.046 MB / 0.7012 GB, free: 126.5 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002979/1.003, allocations: 1.343 MB / 0.7026 GB, free: 125.7 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02468/1.028, allocations: 20.04 MB / 0.7221 GB, free: 109.5 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002635/1.031, allocations: 3.851 MB / 0.7259 GB, free: 106.7 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002331/1.033, allocations: 0.7673 MB / 0.7266 GB, free: 106.1 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001888/1.035, allocations: 1.26 MB / 0.7279 GB, free: 105.1 MB / 490.8 MB Notification: Performance of SimCode: time 2.023e-06/1.035, allocations: 4 kB / 0.7279 GB, free: 105.1 MB / 490.8 MB Notification: Performance of Templates: time 0.1068/1.142, allocations: 90.17 MB / 0.8159 GB, free: 16.55 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.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: 6.353432478848845]