Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.0009884/0.0009884, allocations: 95.31 kB / 20.43 MB, free: 4.133 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.001017/0.001017, allocations: 165 kB / 23.8 MB, free: 0.7656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8851/0.8851, allocations: 158.6 MB / 185.7 MB, free: 2.484 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1327/0.1327, allocations: 32.38 MB / 270.4 MB, free: 14.66 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.159e-05, allocations: 2.312 kB / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.01644/0.01646, allocations: 22.02 MB / 369.7 MB, free: 3.305 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.02811, allocations: 5.537 MB / 375.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00252/0.03063, allocations: 191 kB / 375.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009715/0.04034, allocations: 10.17 MB / 385.6 MB, free: 3.344 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004241/0.04458, allocations: 2.322 MB / 387.9 MB, free: 1.008 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.0471, allocations: 1.896 MB / 389.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01159/0.05869, allocations: 15.22 MB / 405 MB, free: 15.83 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02639/0.08508, allocations: 21.24 MB / 426.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3105/0.3955, allocations: 12.13 MB / 438.4 MB, free: 35.97 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01304/0.4086, allocations: 8.884 MB / 447.3 MB, free: 35.97 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 0.004889/0.4135, allocations: 2.112 MB / 449.4 MB, free: 35.97 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00535/0.4188, allocations: 2.342 MB / 451.7 MB, free: 35.97 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003505/0.4223, allocations: 4.566 MB / 456.3 MB, free: 35.97 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01094/0.4333, allocations: 5.81 MB / 462.1 MB, free: 35.97 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01351/0.4468, allocations: 14.67 MB / 476.8 MB, free: 30.7 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4468, allocations: 0 / 476.8 MB, free: 30.7 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4468, allocations: 3 kB / 476.8 MB, free: 30.7 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.0003746/0.4472, allocations: 0 / 476.8 MB, free: 30.7 MB / 362.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.03293/0.4801, allocations: 20.47 MB / 497.3 MB, free: 13.74 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.4801, allocations: 8.031 kB / 497.3 MB, free: 13.73 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03382/0.514, allocations: 15.23 MB / 0.5005 GB, free: 14.64 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01538/0.5293, allocations: 7.215 MB / 0.5075 GB, free: 7.797 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006955/0.53, allocations: 1.07 MB / 0.5086 GB, free: 6.734 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003047/0.5331, allocations: 1.397 MB / 0.5099 GB, free: 5.352 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02574/0.5588, allocations: 12.98 MB / 0.5226 GB, free: 8.227 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002529/0.5591, allocations: 15.94 kB / 0.5226 GB, free: 8.211 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001204/0.5603, allocations: 0.5836 MB / 0.5232 GB, free: 7.641 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005656/0.5608, allocations: 0.7335 MB / 0.5239 GB, free: 6.906 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02037/0.5812, allocations: 7.026 MB / 0.5308 GB, free: 15.88 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08026/0.6615, allocations: 56.48 MB / 0.5859 GB, free: 7.434 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2201/0.8816, allocations: 9.177 MB / 0.5949 GB, free: 107.5 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00373/0.8853, allocations: 1.857 MB / 0.5967 GB, free: 107.4 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01281/0.8981, allocations: 9.058 MB / 0.6056 GB, free: 106.8 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/0.8982, allocations: 84.75 kB / 0.6056 GB, free: 106.8 MB / 458.8 MB Notification: Performance of pre-optimization done (n=465): time 6.041e-06/0.8982, allocations: 0 / 0.6056 GB, free: 106.8 MB / 458.8 MB Notification: Performance of matching and sorting (n=465): time 0.01724/0.9154, allocations: 8.495 MB / 0.6139 GB, free: 106.3 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.9155, allocations: 128.6 kB / 0.6141 GB, free: 106.2 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006086/0.9215, allocations: 4.942 MB / 0.6189 GB, free: 105.8 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002158/0.9218, allocations: 101.2 kB / 0.619 GB, free: 105.8 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0027/0.9245, allocations: 6.632 MB / 0.6255 GB, free: 102.2 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009377/0.9254, allocations: 1.743 MB / 0.6272 GB, free: 101.1 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001608/0.927, allocations: 1.821 MB / 0.6289 GB, free: 101 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 5.119e-05/0.9271, allocations: 489.5 kB / 0.6294 GB, free: 100.5 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001918/0.929, allocations: 1.191 MB / 0.6306 GB, free: 100.5 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003266/0.9322, allocations: 6.274 MB / 0.6367 GB, free: 94.39 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006364/0.9386, allocations: 8.133 MB / 0.6446 GB, free: 88.15 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.661e-05/0.9386, allocations: 34.81 kB / 0.6447 GB, free: 88.15 MB / 458.8 MB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.00812/0.9468, allocations: 7.107 MB / 0.6516 GB, free: 87.61 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.9468, allocations: 58.53 kB / 0.6517 GB, free: 87.6 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-05/0.9469, allocations: 110.3 kB / 0.6518 GB, free: 87.6 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002568/0.9494, allocations: 1.665 MB / 0.6534 GB, free: 87.48 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/0.9521, allocations: 1.651 MB / 0.655 GB, free: 87.48 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003497/0.9525, allocations: 353 kB / 0.6554 GB, free: 87.45 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003146/0.9556, allocations: 1.089 MB / 0.6564 GB, free: 86.97 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003744/0.956, allocations: 405.1 kB / 0.6568 GB, free: 86.97 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 (853): * Single equations (assignments): 850 * 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.003569/0.9595, allocations: 0.6906 MB / 0.6575 GB, free: 86.73 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006691/0.9602, allocations: 0.6557 MB / 0.6581 GB, free: 86.45 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005639/0.9659, allocations: 4.526 MB / 0.6625 GB, free: 85.64 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.9659, allocations: 47.47 kB / 0.6626 GB, free: 85.64 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.9659, allocations: 0 / 0.6626 GB, free: 85.64 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/0.9659, allocations: 29.75 kB / 0.6626 GB, free: 85.64 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/0.9826, allocations: 14.21 MB / 0.6765 GB, free: 73.28 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.9826, allocations: 2 kB / 0.6765 GB, free: 73.28 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.9841, allocations: 0.7207 MB / 0.6772 GB, free: 72.73 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002326/0.9864, allocations: 1.519 MB / 0.6787 GB, free: 71.53 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001921/0.9866, allocations: 99.5 kB / 0.6788 GB, free: 71.44 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002555/0.9868, allocations: 153.5 kB / 0.6789 GB, free: 71.3 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.9868, allocations: 0 / 0.6789 GB, free: 71.3 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00653/0.9934, allocations: 5.452 MB / 0.6842 GB, free: 66.28 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/0.995, allocations: 1.177 MB / 0.6854 GB, free: 65.23 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003744/0.9954, allocations: 80 kB / 0.6855 GB, free: 65.15 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.9968, allocations: 360.9 kB / 0.6858 GB, free: 64.92 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004556/0.9972, allocations: 347.7 kB / 0.6861 GB, free: 64.75 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001898/0.9974, allocations: 131.5 kB / 0.6863 GB, free: 64.62 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002348/0.9997, allocations: 2.118 MB / 0.6883 GB, free: 62.86 MB / 458.8 MB Notification: Performance of sort global known variables: time 3.71e-07/0.9997, allocations: 4 kB / 0.6883 GB, free: 62.86 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006973/1.007, allocations: 3.304 MB / 0.6916 GB, free: 59.54 MB / 458.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.0005049/1.007, allocations: 252.9 kB / 0.6918 GB, free: 59.33 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.006958/1.014, allocations: 5.167 MB / 0.6969 GB, free: 55.11 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.014, allocations: 0 / 0.6969 GB, free: 55.11 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002971/1.017, allocations: 2.277 MB / 0.6991 GB, free: 53.21 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003225/1.02, allocations: 1.35 MB / 0.7004 GB, free: 51.98 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02865/1.049, allocations: 20.57 MB / 0.7205 GB, free: 31.34 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003094/1.052, allocations: 3.896 MB / 0.7243 GB, free: 27.41 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004256/1.056, allocations: 2.478 MB / 0.7267 GB, free: 24.92 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008734/1.057, allocations: 384.4 kB / 0.7271 GB, free: 24.54 MB / 458.8 MB Notification: Performance of SimCode: time 3.266e-06/1.057, allocations: 0 / 0.7271 GB, free: 24.54 MB / 458.8 MB Notification: Performance of Templates: time 0.2544/1.312, allocations: 81.42 MB / 0.8066 GB, free: 116.5 MB / 474.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/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: 5.991560504771769]