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.001487/0.001487, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.001579/0.001579, allocations: 212.8 kB / 23 MB, free: 5.004 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.435/1.435, allocations: 207.6 MB / 233.8 MB, free: 10 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.2173/0.2173, allocations: 44.24 MB / 330.3 MB, free: 9.531 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.002308/0.002308, allocations: 75.83 kB / 467.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1171, allocations: 61.03 MB / 0.5161 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02859/0.1457, allocations: 23.04 MB / 0.5386 GB, free: 196 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2345/0.3802, allocations: 5.512 MB / 0.544 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004584/0.3848, allocations: 197.4 kB / 0.5442 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01909/0.4039, allocations: 9.614 MB / 0.5536 GB, free: 7.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008749/0.4126, allocations: 2.282 MB / 0.5558 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00614/0.4188, allocations: 1.949 MB / 0.5577 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01866/0.4374, allocations: 14.75 MB / 0.5721 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0414/0.4788, allocations: 21.34 MB / 0.593 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01767/0.4965, allocations: 8.238 MB / 0.601 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01647/0.513, allocations: 8.929 MB / 0.6097 GB, free: 2.453 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005507/0.5185, allocations: 2.117 MB / 0.6118 GB, free: 344 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008488/0.527, allocations: 2.345 MB / 0.6141 GB, free: 14 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007656/0.5346, allocations: 4.404 MB / 0.6184 GB, free: 9.676 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01895/0.5536, allocations: 8.525 MB / 0.6267 GB, free: 1.215 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04326/0.5968, allocations: 28.79 MB / 0.6548 GB, free: 4.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.5969, allocations: 7.938 kB / 0.6548 GB, free: 4.973 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.941e-06/0.5969, allocations: 4 kB / 0.6548 GB, free: 4.969 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001019/0.5979, allocations: 0 / 0.6548 GB, free: 4.969 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.05981/0.6577, allocations: 19.17 MB / 0.6736 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.6577, allocations: 12.03 kB / 0.6736 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007167/0.6649, allocations: 2.045 MB / 0.6756 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06596/0.7309, allocations: 12.74 MB / 0.688 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01988/0.7507, allocations: 8.121 MB / 0.696 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00121/0.752, allocations: 1.076 MB / 0.697 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005239/0.7572, allocations: 1.386 MB / 0.6984 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06235/0.8196, allocations: 24.1 MB / 0.7219 GB, free: 448 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006857/0.8202, allocations: 19.91 kB / 0.7219 GB, free: 428 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004471/0.8247, allocations: 0.5806 MB / 0.7225 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009125/0.8256, allocations: 0.7413 MB / 0.7232 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04856/0.8742, allocations: 22.45 MB / 0.7451 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5891/1.463, allocations: 70.73 MB / 0.8142 GB, free: 120.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01636/1.48, allocations: 12.07 MB / 0.826 GB, free: 116.9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006144/1.486, allocations: 4.605 MB / 0.8305 GB, free: 114.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02384/1.51, allocations: 15.29 MB / 0.8454 GB, free: 105.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/1.51, allocations: 81.17 kB / 0.8455 GB, free: 105.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=465): time 5.651e-06/1.51, allocations: 0 / 0.8455 GB, free: 105.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=465): time 0.02918/1.539, allocations: 15.36 MB / 0.8605 GB, free: 97.56 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/1.539, allocations: 134.7 kB / 0.8606 GB, free: 97.46 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006057/1.545, allocations: 5.263 MB / 0.8658 GB, free: 92.38 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005611/1.546, allocations: 99.02 kB / 0.8659 GB, free: 92.28 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002311/1.548, allocations: 6.264 MB / 0.872 GB, free: 87.03 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001168/1.549, allocations: 1.672 MB / 0.8736 GB, free: 85.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001868/1.551, allocations: 1.607 MB / 0.8752 GB, free: 83.85 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.976e-05/1.551, allocations: 305.1 kB / 0.8755 GB, free: 83.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004683/1.556, allocations: 4.204 MB / 0.8796 GB, free: 79.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005997/1.562, allocations: 7.554 MB / 0.8869 GB, free: 70.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/1.573, allocations: 12.32 MB / 0.899 GB, free: 56.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.536e-05/1.573, allocations: 32 kB / 0.899 GB, free: 56.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.0169/1.59, allocations: 13.39 MB / 0.9121 GB, free: 44.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.612e-05/1.59, allocations: 56 kB / 0.9121 GB, free: 44.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/1.59, allocations: 112 kB / 0.9122 GB, free: 43.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005317/1.595, allocations: 3.106 MB / 0.9153 GB, free: 40.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005157/1.6, allocations: 1.662 MB / 0.9169 GB, free: 39.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005337/1.601, allocations: 322.2 kB / 0.9172 GB, free: 38.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0054/1.606, allocations: 1.137 MB / 0.9183 GB, free: 37.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009287/1.607, allocations: 404 kB / 0.9187 GB, free: 37.45 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.007351/1.615, allocations: 5.456 MB / 0.924 GB, free: 32.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009524/1.616, allocations: 0.5317 MB / 0.9245 GB, free: 31.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/1.628, allocations: 9.573 MB / 0.9339 GB, free: 21.97 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/1.628, allocations: 51.98 kB / 0.9339 GB, free: 21.92 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.628, allocations: 4 kB / 0.934 GB, free: 21.92 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.094e-05/1.628, allocations: 27.84 kB / 0.934 GB, free: 21.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02884/1.657, allocations: 20.9 MB / 0.9544 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/1.657, allocations: 6.562 kB / 0.9544 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002756/1.66, allocations: 0.7317 MB / 0.9551 GB, free: 368 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00621/1.666, allocations: 2.961 MB / 0.958 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005037/1.666, allocations: 91.98 kB / 0.9581 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005249/1.667, allocations: 126.5 kB / 0.9582 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.667, allocations: 7.938 kB / 0.9582 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02236/1.689, allocations: 14.1 MB / 0.972 GB, free: 15.04 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004321/1.693, allocations: 1.392 MB / 0.9733 GB, free: 13.64 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001127/1.695, allocations: 79.94 kB / 0.9734 GB, free: 13.56 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002896/1.697, allocations: 367.6 kB / 0.9738 GB, free: 13.2 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007057/1.698, allocations: 331.2 kB / 0.9741 GB, free: 12.88 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003164/1.698, allocations: 124 kB / 0.9742 GB, free: 12.76 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.006404/1.705, allocations: 3.508 MB / 0.9776 GB, free: 9.258 MB / 0.6232 GB Notification: Performance of sort global known variables: time 2.5e-07/1.705, allocations: 4 kB / 0.9776 GB, free: 9.254 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01047/1.715, allocations: 3.269 MB / 0.9808 GB, free: 5.973 MB / 0.6232 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.02412/1.739, allocations: 14.83 MB / 0.9953 GB, free: 7.156 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01835/1.758, allocations: 9.617 MB / 1.005 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.758, allocations: 0 / 1.005 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.008858/1.767, allocations: 4.103 MB / 1.009 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007181/1.774, allocations: 1.283 MB / 1.01 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3525/2.126, allocations: 79.82 MB / 1.088 GB, free: 195.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01282/2.139, allocations: 9.113 MB / 1.097 GB, free: 186.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005998/2.145, allocations: 2.943 MB / 1.1 GB, free: 183.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006169/2.151, allocations: 4.756 MB / 1.104 GB, free: 178.7 MB / 0.6544 GB Notification: Performance of SimCode: time 1.502e-06/2.151, allocations: 0 / 1.104 GB, free: 178.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4687/2.62, allocations: 185.8 MB / 1.286 GB, free: 171.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 25/27.62, allocations: 11.66 kB / 1.286 GB, free: 171.9 MB / 0.6544 GB " [Timeout remaining time 632] (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: 34.23804400279187]