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.001833/0.001833, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.003175/0.003175, allocations: 213.3 kB / 22.99 MB, free: 4.977 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.471/1.471, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.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.2174/0.2174, allocations: 44.27 MB / 330.3 MB, free: 9.301 MB / 270.1 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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 81.61 kB / 467.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1294, allocations: 61.03 MB / 0.5162 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02608/0.1555, allocations: 19.66 MB / 0.5353 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2481/0.4036, allocations: 5.391 MB / 0.5406 GB, free: 9.516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00529/0.4089, allocations: 196.6 kB / 0.5408 GB, free: 9.516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02009/0.429, allocations: 8.859 MB / 0.5494 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01072/0.4397, allocations: 2.269 MB / 0.5517 GB, free: 8.836 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005931/0.4456, allocations: 1.884 MB / 0.5535 GB, free: 8.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01665/0.4623, allocations: 14.75 MB / 0.5679 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04826/0.5105, allocations: 21.21 MB / 0.5886 GB, free: 5.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01594/0.5265, allocations: 8.253 MB / 0.5967 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01744/0.5439, allocations: 8.858 MB / 0.6053 GB, free: 7.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007312/0.5512, allocations: 2.113 MB / 0.6074 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01117/0.5624, allocations: 2.326 MB / 0.6097 GB, free: 2.832 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008213/0.5706, allocations: 4.411 MB / 0.614 GB, free: 14.51 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01768/0.5883, allocations: 6.672 MB / 0.6205 GB, free: 7.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04204/0.6303, allocations: 28.93 MB / 0.6487 GB, free: 11.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.6303, allocations: 0 / 0.6487 GB, free: 11.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6303, allocations: 0 / 0.6487 GB, free: 11.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0009759/0.6313, allocations: 0 / 0.6487 GB, free: 11.36 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.06273/0.694, allocations: 19.16 MB / 0.6675 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.6941, allocations: 11.97 kB / 0.6675 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007912/0.702, allocations: 2.046 MB / 0.6695 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06739/0.7694, allocations: 12.74 MB / 0.6819 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0217/0.7911, allocations: 8.121 MB / 0.6898 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001496/0.7926, allocations: 1.072 MB / 0.6909 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007037/0.7996, allocations: 1.39 MB / 0.6922 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07063/0.8703, allocations: 24.41 MB / 0.7161 GB, free: 5.992 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006328/0.8709, allocations: 19.91 kB / 0.7161 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004754/0.8756, allocations: 0.5781 MB / 0.7167 GB, free: 5.395 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009902/0.8766, allocations: 0.7374 MB / 0.7174 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05467/0.9313, allocations: 22.36 MB / 0.7392 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6541/1.585, allocations: 64.25 MB / 0.802 GB, free: 120.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02046/1.606, allocations: 11.99 MB / 0.8137 GB, free: 118.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008098/1.614, allocations: 4.599 MB / 0.8182 GB, free: 117 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03127/1.645, allocations: 14.35 MB / 0.8322 GB, free: 111.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/1.645, allocations: 92.36 kB / 0.8323 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=465): time 9.067e-06/1.645, allocations: 0 / 0.8323 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=465): time 0.03574/1.681, allocations: 15.36 MB / 0.8473 GB, free: 104.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/1.681, allocations: 138.6 kB / 0.8474 GB, free: 104.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008677/1.69, allocations: 5.452 MB / 0.8527 GB, free: 101.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001181/1.691, allocations: 97.91 kB / 0.8528 GB, free: 101.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003954/1.695, allocations: 6.268 MB / 0.8589 GB, free: 96.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002329/1.697, allocations: 1.671 MB / 0.8606 GB, free: 95.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004504/1.702, allocations: 1.604 MB / 0.8621 GB, free: 94.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.419e-05/1.702, allocations: 305.1 kB / 0.8624 GB, free: 94.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006703/1.709, allocations: 4.21 MB / 0.8665 GB, free: 92.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009227/1.718, allocations: 7.554 MB / 0.8739 GB, free: 84.31 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01441/1.732, allocations: 12.31 MB / 0.8859 GB, free: 70.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001335/1.732, allocations: 32 kB / 0.886 GB, free: 70.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02267/1.755, allocations: 13.4 MB / 0.899 GB, free: 58.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/1.755, allocations: 52 kB / 0.8991 GB, free: 58.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001749/1.755, allocations: 116.2 kB / 0.8992 GB, free: 57.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005744/1.761, allocations: 3.101 MB / 0.9022 GB, free: 54.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005964/1.767, allocations: 1.661 MB / 0.9039 GB, free: 53.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007271/1.768, allocations: 325.2 kB / 0.9042 GB, free: 53.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006827/1.775, allocations: 1.122 MB / 0.9053 GB, free: 51.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002077/1.777, allocations: 404 kB / 0.9057 GB, free: 51.51 MB / 0.5919 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.01251/1.789, allocations: 5.46 MB / 0.911 GB, free: 46.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001602/1.791, allocations: 0.5333 MB / 0.9115 GB, free: 45.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01627/1.807, allocations: 9.576 MB / 0.9209 GB, free: 36.03 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.65e-05/1.807, allocations: 48 kB / 0.9209 GB, free: 35.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.799e-05/1.807, allocations: 0 / 0.9209 GB, free: 35.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-05/1.807, allocations: 23.91 kB / 0.9209 GB, free: 35.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04609/1.853, allocations: 20.12 MB / 0.9406 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-05/1.853, allocations: 0 / 0.9406 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003254/1.856, allocations: 0.7334 MB / 0.9413 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005651/1.862, allocations: 2.96 MB / 0.9442 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008373/1.863, allocations: 99.97 kB / 0.9443 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005844/1.864, allocations: 126.5 kB / 0.9444 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.864, allocations: 0 / 0.9444 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02226/1.886, allocations: 14.1 MB / 0.9582 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005447/1.891, allocations: 1.378 MB / 0.9595 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001963/1.893, allocations: 86.61 kB / 0.9596 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004033/1.897, allocations: 367.6 kB / 0.9599 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001361/1.899, allocations: 335.1 kB / 0.9603 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007931/1.899, allocations: 132 kB / 0.9604 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00779/1.907, allocations: 3.508 MB / 0.9638 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/1.907, allocations: 0 / 0.9638 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01114/1.918, allocations: 3.277 MB / 0.967 GB, free: 4.82 MB / 0.6075 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.03069/1.949, allocations: 14.82 MB / 0.9815 GB, free: 6.012 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.0223/1.971, allocations: 9.619 MB / 0.9909 GB, free: 12.71 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.971, allocations: 0 / 0.9909 GB, free: 12.71 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.01067/1.982, allocations: 4.112 MB / 0.9949 GB, free: 8.648 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008942/1.991, allocations: 1.275 MB / 0.9961 GB, free: 7.383 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4143/2.405, allocations: 79.8 MB / 1.074 GB, free: 200.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01859/2.424, allocations: 8.74 MB / 1.083 GB, free: 195.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.008759/2.433, allocations: 2.94 MB / 1.085 GB, free: 193.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007479/2.44, allocations: 4.76 MB / 1.09 GB, free: 188.9 MB / 0.6544 GB Notification: Performance of SimCode: time 1.242e-06/2.44, allocations: 0 / 1.09 GB, free: 188.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2262/2.666, allocations: 176.5 MB / 1.262 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.67/24.34, allocations: 12.05 kB / 1.262 GB, free: 12.21 MB / 0.6544 GB " [Timeout remaining time 635] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/Ideal/Ideal.csv","/var/lib/jenkins1/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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 31.390971513930708]