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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 110.4 kB / 18.33 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 186 kB / 21.49 MB, free: 0.8242 MB / 14.72 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 1.542/1.542, allocations: 207.6 MB / 232.1 MB, free: 3.145 MB / 174.1 MB " [Timeout remaining time 178] 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.4789/0.4789, allocations: 44.22 MB / 328.4 MB, free: 6.25 MB / 254.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 69.92 kB / 465.5 MB, free: 45.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1548, allocations: 61.02 MB / 0.5142 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02179/0.1766, allocations: 23.02 MB / 0.5367 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01686/0.1934, allocations: 5.525 MB / 0.5421 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007565/0.201, allocations: 171.4 kB / 0.5422 GB, free: 416 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02568/0.2267, allocations: 9.565 MB / 0.5516 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01258/0.2393, allocations: 2.413 MB / 0.5539 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007386/0.2466, allocations: 1.72 MB / 0.5556 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02671/0.2733, allocations: 14.65 MB / 0.5699 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05617/0.3295, allocations: 20.06 MB / 0.5895 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0172/0.3467, allocations: 8.093 MB / 0.5974 GB, free: 7.551 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01875/0.3655, allocations: 8.927 MB / 0.6062 GB, free: 14.59 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01102/0.3765, allocations: 2.113 MB / 0.6082 GB, free: 12.48 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01272/0.3892, allocations: 2.347 MB / 0.6105 GB, free: 10.13 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01156/0.4008, allocations: 4.403 MB / 0.6148 GB, free: 5.719 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02496/0.4257, allocations: 8.533 MB / 0.6231 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.7837/1.209, allocations: 28.77 MB / 0.6512 GB, free: 49.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/1.209, allocations: 3.219 kB / 0.6512 GB, free: 49.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.425e-06/1.209, allocations: 0.5312 kB / 0.6512 GB, free: 49.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001498/1.211, allocations: 1.812 kB / 0.6512 GB, free: 49.89 MB / 494.1 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.08519/1.296, allocations: 19.25 MB / 0.67 GB, free: 41.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/1.296, allocations: 15.7 kB / 0.6701 GB, free: 41.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06699/1.363, allocations: 12.74 MB / 0.6825 GB, free: 35.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02474/1.388, allocations: 7.967 MB / 0.6903 GB, free: 29.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001471/1.389, allocations: 1.071 MB / 0.6913 GB, free: 28.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01154/1.401, allocations: 1.387 MB / 0.6927 GB, free: 27.08 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09077/1.492, allocations: 24.11 MB / 0.7162 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001095/1.493, allocations: 15.91 kB / 0.7162 GB, free: 2.902 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01388/1.507, allocations: 0.5793 MB / 0.7168 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009806/1.508, allocations: 0.7296 MB / 0.7175 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06958/1.577, allocations: 22.45 MB / 0.7394 GB, free: 11.15 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2012/1.778, allocations: 72.6 MB / 0.8103 GB, free: 1.988 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04278/1.821, allocations: 30.98 MB / 0.8406 GB, free: 56 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01184/1.833, allocations: 4.61 MB / 0.8451 GB, free: 11.43 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04561/1.879, allocations: 15.83 MB / 0.8605 GB, free: 11.61 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/1.879, allocations: 92.48 kB / 0.8606 GB, free: 11.52 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=465): time 9.968e-06/1.879, allocations: 0 / 0.8606 GB, free: 11.52 MB / 0.6388 GB Notification: Performance of matching and sorting (n=465): time 0.481/2.36, allocations: 15.59 MB / 0.8759 GB, free: 228.6 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.706e-05/2.36, allocations: 128 kB / 0.876 GB, free: 228.5 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01019/2.37, allocations: 5.262 MB / 0.8811 GB, free: 228.2 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001397/2.372, allocations: 97.05 kB / 0.8812 GB, free: 228.1 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.003962/2.376, allocations: 6.271 MB / 0.8873 GB, free: 224.1 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.00269/2.378, allocations: 1.665 MB / 0.889 GB, free: 222.8 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002769/2.381, allocations: 1.608 MB / 0.8905 GB, free: 222.1 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 5.614e-05/2.381, allocations: 301.1 kB / 0.8908 GB, free: 221.8 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006223/2.387, allocations: 4.206 MB / 0.8949 GB, free: 220.3 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009856/2.397, allocations: 7.553 MB / 0.9023 GB, free: 214.6 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01822/2.415, allocations: 12.32 MB / 0.9143 GB, free: 206.4 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001935/2.416, allocations: 37.44 kB / 0.9144 GB, free: 206.4 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02708/2.443, allocations: 13.39 MB / 0.9275 GB, free: 197 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001985/2.443, allocations: 58.19 kB / 0.9275 GB, free: 197 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003142/2.443, allocations: 112.8 kB / 0.9276 GB, free: 196.9 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006298/2.449, allocations: 3.098 MB / 0.9306 GB, free: 194.5 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006188/2.456, allocations: 1.662 MB / 0.9323 GB, free: 193 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007223/2.456, allocations: 324.9 kB / 0.9326 GB, free: 192.8 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007805/2.464, allocations: 1.116 MB / 0.9337 GB, free: 191.8 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001914/2.466, allocations: 407.4 kB / 0.9341 GB, free: 191.4 MB / 0.6388 GB 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.014/2.48, allocations: 5.464 MB / 0.9394 GB, free: 186.8 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002702/2.483, allocations: 0.5336 MB / 0.9399 GB, free: 186.3 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01845/2.501, allocations: 9.576 MB / 0.9493 GB, free: 177.8 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.343e-05/2.501, allocations: 48 kB / 0.9493 GB, free: 177.8 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/2.501, allocations: 0 / 0.9493 GB, free: 177.8 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.643e-05/2.501, allocations: 23.91 kB / 0.9493 GB, free: 177.8 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04333/2.545, allocations: 20.76 MB / 0.9696 GB, free: 157 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/2.545, allocations: 4 kB / 0.9696 GB, free: 157 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003243/2.548, allocations: 0.7372 MB / 0.9703 GB, free: 156.3 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005438/2.553, allocations: 2.965 MB / 0.9732 GB, free: 153.3 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008572/2.554, allocations: 99.53 kB / 0.9733 GB, free: 153.2 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004746/2.555, allocations: 130.5 kB / 0.9734 GB, free: 153.1 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/2.555, allocations: 0 / 0.9734 GB, free: 153.1 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01878/2.573, allocations: 14.1 MB / 0.9872 GB, free: 139 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004357/2.578, allocations: 1.396 MB / 0.9886 GB, free: 137.6 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001725/2.58, allocations: 80 kB / 0.9887 GB, free: 137.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00361/2.583, allocations: 367.6 kB / 0.989 GB, free: 137.1 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007734/2.584, allocations: 323.3 kB / 0.9893 GB, free: 136.8 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003283/2.584, allocations: 132 kB / 0.9894 GB, free: 136.7 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.005595/2.59, allocations: 3.504 MB / 0.9929 GB, free: 133.2 MB / 0.6388 GB Notification: Performance of sort global known variables: time 8e-08/2.59, allocations: 0 / 0.9929 GB, free: 133.2 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01133/2.601, allocations: 3.281 MB / 0.9961 GB, free: 129.9 MB / 0.6388 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.001228/2.602, allocations: 250.7 kB / 0.9963 GB, free: 129.6 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01621/2.619, allocations: 9.625 MB / 1.006 GB, free: 120 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/2.619, allocations: 0 / 1.006 GB, free: 120 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.008114/2.627, allocations: 4.1 MB / 1.01 GB, free: 115.9 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006833/2.634, allocations: 1.274 MB / 1.011 GB, free: 114.6 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05304/2.687, allocations: 24.95 MB / 1.035 GB, free: 89.66 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01911/2.706, allocations: 9.114 MB / 1.044 GB, free: 80.5 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.009116/2.715, allocations: 2.94 MB / 1.047 GB, free: 77.55 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002469/2.717, allocations: 387.4 kB / 1.047 GB, free: 77.18 MB / 0.6388 GB Notification: Performance of SimCode: time 2.485e-06/2.717, allocations: 0 / 1.047 GB, free: 77.18 MB / 0.6388 GB Notification: Performance of Templates: time 0.507/3.224, allocations: 95.01 MB / 1.14 GB, free: 202.7 MB / 0.6388 GB " [Timeout remaining time 656] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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: 11.428813522681594]