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.0009474/0.0009474, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001055/0.001055, allocations: 170.8 kB / 24.92 MB, free: 8.773 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 1.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.2646/0.2646, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+..re|I.[0-9,]+..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.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.545e-05/3.82e-05, allocations: 3.188 kB / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02255/0.02258, allocations: 21.22 MB / 346.5 MB, free: 2.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01355/0.03613, allocations: 5.858 MB / 352.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004166/0.0403, allocations: 238.8 kB / 352.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01126/0.05156, allocations: 10.05 MB / 362.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008377/0.05993, allocations: 2.244 MB / 364.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004678/0.06461, allocations: 1.876 MB / 366.8 MB, free: 13.99 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01475/0.07936, allocations: 15.04 MB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03658/0.1159, allocations: 21.86 MB / 403.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02372/0.1397, allocations: 12.1 MB / 415.8 MB, free: 12.62 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01493/0.1546, allocations: 8.909 MB / 424.7 MB, free: 3.699 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00587/0.1605, allocations: 2.098 MB / 426.8 MB, free: 1.602 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007306/0.1678, allocations: 2.363 MB / 429.1 MB, free: 15.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006988/0.1748, allocations: 4.488 MB / 433.6 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01233/0.1871, allocations: 5.743 MB / 439.4 MB, free: 4.984 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3285/0.5156, allocations: 14.51 MB / 453.9 MB, free: 67.29 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.5156, allocations: 0.5 kB / 453.9 MB, free: 67.29 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.223e-06/0.5156, allocations: 3.094 kB / 453.9 MB, free: 67.29 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0009072/0.5165, allocations: 0 / 453.9 MB, free: 67.29 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.04162/0.5582, allocations: 18.4 MB / 472.3 MB, free: 62.69 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.5582, allocations: 11.5 kB / 472.3 MB, free: 62.69 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0357/0.5939, allocations: 10.33 MB / 482.6 MB, free: 61.58 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01158/0.6055, allocations: 4.35 MB / 487 MB, free: 59.45 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009145/0.6064, allocations: 1.055 MB / 488 MB, free: 58.69 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006448/0.6128, allocations: 1.379 MB / 489.4 MB, free: 57.32 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03777/0.6506, allocations: 11.94 MB / 0.4896 GB, free: 45.84 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00061/0.6512, allocations: 19.45 kB / 0.4896 GB, free: 45.82 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00528/0.6565, allocations: 0.575 MB / 0.4902 GB, free: 45.26 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005003/0.657, allocations: 0.6978 MB / 0.4908 GB, free: 44.56 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02233/0.6793, allocations: 5.94 MB / 0.4966 GB, free: 38.61 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08205/0.7614, allocations: 41.62 MB / 0.5373 GB, free: 14.42 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/0.7717, allocations: 5.63 MB / 0.5428 GB, free: 8.848 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003303/0.775, allocations: 1.278 MB / 0.544 GB, free: 7.598 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01712/0.7921, allocations: 6.366 MB / 0.5503 GB, free: 1.453 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.009e-05/0.7922, allocations: 82.11 kB / 0.5503 GB, free: 1.363 MB / 426.8 MB Notification: Performance of pre-optimization done (n=465): time 7.474e-06/0.7922, allocations: 0 / 0.5503 GB, free: 1.363 MB / 426.8 MB Notification: Performance of matching and sorting (n=465): time 0.01528/0.8074, allocations: 6.601 MB / 0.5568 GB, free: 10.8 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.8075, allocations: 124.7 kB / 0.5569 GB, free: 10.66 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005057/0.8126, allocations: 3.214 MB / 0.56 GB, free: 8.082 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006674/0.8132, allocations: 105.2 kB / 0.5601 GB, free: 7.977 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003336/0.8166, allocations: 5.633 MB / 0.5656 GB, free: 2.504 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001872/0.8185, allocations: 1.649 MB / 0.5673 GB, free: 0.9453 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002164/0.8206, allocations: 1.383 MB / 0.5686 GB, free: 15.71 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 8.365e-05/0.8207, allocations: 309.1 kB / 0.5689 GB, free: 15.41 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.8224, allocations: 1.122 MB / 0.57 GB, free: 14.28 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003097/0.8255, allocations: 3.908 MB / 0.5738 GB, free: 9.156 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006322/0.8318, allocations: 5.709 MB / 0.5794 GB, free: 2.574 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/0.8319, allocations: 32 kB / 0.5794 GB, free: 2.543 MB / 458.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.008754/0.8407, allocations: 5.033 MB / 0.5843 GB, free: 14.2 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.717e-05/0.8407, allocations: 50.5 kB / 0.5844 GB, free: 14.15 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001131/0.8408, allocations: 104 kB / 0.5845 GB, free: 14.05 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002707/0.8436, allocations: 1.48 MB / 0.5859 GB, free: 12.58 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003387/0.8469, allocations: 1.493 MB / 0.5874 GB, free: 11.21 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000429/0.8474, allocations: 329.4 kB / 0.5877 GB, free: 10.93 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003858/0.8512, allocations: 0.8298 MB / 0.5885 GB, free: 10.09 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007535/0.852, allocations: 315.9 kB / 0.5888 GB, free: 9.785 MB / 474.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.004332/0.8563, allocations: 0.6212 MB / 0.5894 GB, free: 9.27 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001098/0.8574, allocations: 430.2 kB / 0.5898 GB, free: 8.852 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00517/0.8626, allocations: 3.241 MB / 0.593 GB, free: 5.625 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.921e-05/0.8626, allocations: 48 kB / 0.593 GB, free: 5.578 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.8626, allocations: 0 / 0.593 GB, free: 5.578 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.687e-05/0.8626, allocations: 23.91 kB / 0.5931 GB, free: 5.555 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/0.8777, allocations: 6.655 MB / 0.5996 GB, free: 15.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.8777, allocations: 0 / 0.5996 GB, free: 15.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/0.8793, allocations: 0.6116 MB / 0.6002 GB, free: 15.12 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002414/0.8817, allocations: 1.351 MB / 0.6015 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000318/0.882, allocations: 87.97 kB / 0.6016 GB, free: 13.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002941/0.8823, allocations: 143.3 kB / 0.6017 GB, free: 13.56 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8823, allocations: 0 / 0.6017 GB, free: 13.56 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006637/0.889, allocations: 3.841 MB / 0.6054 GB, free: 9.824 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/0.891, allocations: 0.7201 MB / 0.6061 GB, free: 9.105 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006858/0.8917, allocations: 76 kB / 0.6062 GB, free: 9.031 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/0.8933, allocations: 152 kB / 0.6064 GB, free: 8.883 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006017/0.8939, allocations: 295.2 kB / 0.6066 GB, free: 8.594 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002975/0.8942, allocations: 91.97 kB / 0.6067 GB, free: 8.504 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002429/0.8966, allocations: 1.441 MB / 0.6081 GB, free: 7.238 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.8966, allocations: 3.281 kB / 0.6081 GB, free: 7.238 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.007987/0.9046, allocations: 3.261 MB / 0.6113 GB, free: 3.965 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.0008372/0.9054, allocations: 233.6 kB / 0.6116 GB, free: 3.766 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.007924/0.9133, allocations: 3.897 MB / 0.6154 GB, free: 248 kB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002789/0.9136, allocations: 80.44 kB / 0.6154 GB, free: 164 kB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1625/1.076, allocations: 1.788 MB / 0.6172 GB, free: 151.3 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006557/1.083, allocations: 1.332 MB / 0.6185 GB, free: 151.3 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03558/1.118, allocations: 19.9 MB / 0.6379 GB, free: 144.3 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005597/1.124, allocations: 2.715 MB / 0.6406 GB, free: 143.9 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003007/1.127, allocations: 0.7719 MB / 0.6413 GB, free: 143.7 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002321/1.129, allocations: 1.118 MB / 0.6424 GB, free: 143.6 MB / 490.8 MB Notification: Performance of SimCode: time 2.635e-06/1.129, allocations: 0 / 0.6424 GB, free: 143.6 MB / 490.8 MB Notification: Performance of Templates: time 0.1075/1.237, allocations: 88.52 MB / 0.7289 GB, free: 62.11 MB / 490.8 MB " [Timeout remaining time 659] 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 -s gbode -gbm=radauIIA3 -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","",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.983975613955408]