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.001814/0.001814, allocations: 122 kB / 17.83 MB, free: 5.242 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.002178/0.002178, allocations: 204.7 kB / 20.79 MB, free: 2.297 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.884/1.884, allocations: 207.6 MB / 231.2 MB, free: 4.129 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.4224/0.4224, allocations: 44.23 MB / 327.3 MB, free: 6.762 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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="cs",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.002265/0.002265, allocations: 75.88 kB / 462.9 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3465, allocations: 60.99 MB / 0.5116 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02279/0.3693, allocations: 22.99 MB / 0.5341 GB, free: 7.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01558/0.3849, allocations: 5.533 MB / 0.5395 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006754/0.3916, allocations: 194.9 kB / 0.5397 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02459/0.4162, allocations: 9.58 MB / 0.549 GB, free: 8.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01121/0.4274, allocations: 2.238 MB / 0.5512 GB, free: 6.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006415/0.4338, allocations: 1.908 MB / 0.5531 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02356/0.4574, allocations: 14.67 MB / 0.5674 GB, free: 5.645 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05689/0.5143, allocations: 26.23 MB / 0.593 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0202/0.5345, allocations: 8.214 MB / 0.601 GB, free: 2.965 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01774/0.5522, allocations: 8.923 MB / 0.6097 GB, free: 10.01 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008335/0.5606, allocations: 2.109 MB / 0.6118 GB, free: 7.898 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01044/0.571, allocations: 2.355 MB / 0.6141 GB, free: 5.547 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009526/0.5805, allocations: 4.411 MB / 0.6184 GB, free: 1.125 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01954/0.6001, allocations: 8.525 MB / 0.6267 GB, free: 8.562 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5887/1.189, allocations: 28.77 MB / 0.6548 GB, free: 57.46 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.189, allocations: 0 / 0.6548 GB, free: 57.46 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.994e-06/1.189, allocations: 0.5938 kB / 0.6548 GB, free: 57.46 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.0007671/1.19, allocations: 0 / 0.6548 GB, free: 57.46 MB / 0.4982 GB 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.06383/1.253, allocations: 19.24 MB / 0.6736 GB, free: 52.69 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/1.253, allocations: 13.8 kB / 0.6736 GB, free: 52.68 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003662/1.254, allocations: 388.8 kB / 0.674 GB, free: 52.65 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008117/1.262, allocations: 2.046 MB / 0.676 GB, free: 52.52 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06427/1.326, allocations: 12.74 MB / 0.6884 GB, free: 48.31 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01919/1.345, allocations: 7.972 MB / 0.6962 GB, free: 43.68 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001103/1.346, allocations: 1.075 MB / 0.6973 GB, free: 42.62 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006748/1.353, allocations: 1.392 MB / 0.6986 GB, free: 41.24 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05892/1.412, allocations: 24.1 MB / 0.7222 GB, free: 17.09 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000534/1.413, allocations: 27.27 kB / 0.7222 GB, free: 17.06 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005616/1.418, allocations: 0.5731 MB / 0.7228 GB, free: 16.5 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006483/1.419, allocations: 0.7335 MB / 0.7235 GB, free: 15.77 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05339/1.472, allocations: 22.44 MB / 0.7454 GB, free: 9.312 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1584/1.631, allocations: 72.6 MB / 0.8163 GB, free: 136 kB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03446/1.665, allocations: 30.99 MB / 0.8466 GB, free: 14.18 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009326/1.675, allocations: 4.599 MB / 0.851 GB, free: 9.562 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03659/1.711, allocations: 15.83 MB / 0.8665 GB, free: 9.746 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/1.711, allocations: 86.09 kB / 0.8666 GB, free: 9.652 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=465): time 7.284e-06/1.711, allocations: 0 / 0.8666 GB, free: 9.652 MB / 0.6388 GB Notification: Performance of matching and sorting (n=465): time 0.0435/1.755, allocations: 15.6 MB / 0.8818 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/1.755, allocations: 124.7 kB / 0.8819 GB, free: 9.844 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/1.766, allocations: 5.265 MB / 0.8871 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.001336/1.767, allocations: 103.9 kB / 0.8872 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.006119/1.773, allocations: 6.262 MB / 0.8933 GB, free: 14.21 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003444/1.777, allocations: 1.674 MB / 0.8949 GB, free: 12.55 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003415/1.78, allocations: 1.603 MB / 0.8965 GB, free: 10.95 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.78, allocations: 305.1 kB / 0.8968 GB, free: 10.64 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008044/1.788, allocations: 4.2 MB / 0.9009 GB, free: 6.441 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3254/2.114, allocations: 7.554 MB / 0.9083 GB, free: 257.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01658/2.13, allocations: 12.32 MB / 0.9203 GB, free: 251.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002219/2.13, allocations: 31.91 kB / 0.9203 GB, free: 251.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02594/2.156, allocations: 13.4 MB / 0.9334 GB, free: 247 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/2.156, allocations: 55 kB / 0.9335 GB, free: 247 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00025/2.157, allocations: 112.6 kB / 0.9336 GB, free: 247 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006614/2.163, allocations: 3.11 MB / 0.9366 GB, free: 246.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006561/2.17, allocations: 1.66 MB / 0.9382 GB, free: 246 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008701/2.171, allocations: 324.5 kB / 0.9385 GB, free: 245.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007727/2.179, allocations: 1.117 MB / 0.9396 GB, free: 245.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001867/2.18, allocations: 408 kB / 0.94 GB, free: 245.6 MB / 0.67 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.009808/2.19, allocations: 5.471 MB / 0.9454 GB, free: 243.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/2.192, allocations: 0.5335 MB / 0.9459 GB, free: 243.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/2.207, allocations: 9.577 MB / 0.9552 GB, free: 235.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/2.207, allocations: 49.97 kB / 0.9553 GB, free: 235.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/2.207, allocations: 0 / 0.9553 GB, free: 235.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.796e-05/2.207, allocations: 23.91 kB / 0.9553 GB, free: 235.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0378/2.245, allocations: 20.76 MB / 0.9756 GB, free: 216.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/2.245, allocations: 0 / 0.9756 GB, free: 216.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00353/2.248, allocations: 0.7333 MB / 0.9763 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006058/2.254, allocations: 2.959 MB / 0.9792 GB, free: 212.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001065/2.255, allocations: 99.97 kB / 0.9793 GB, free: 212.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005534/2.256, allocations: 134.4 kB / 0.9794 GB, free: 212.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/2.256, allocations: 0 / 0.9794 GB, free: 212.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02199/2.278, allocations: 14.1 MB / 0.9932 GB, free: 198.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005203/2.283, allocations: 1.398 MB / 0.9945 GB, free: 197.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003143/2.286, allocations: 83.94 kB / 0.9946 GB, free: 197.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007521/2.294, allocations: 367.5 kB / 0.995 GB, free: 196.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002029/2.296, allocations: 315.4 kB / 0.9953 GB, free: 196.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001291/2.297, allocations: 132 kB / 0.9954 GB, free: 196.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01022/2.307, allocations: 3.508 MB / 0.9988 GB, free: 192.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.92e-07/2.307, allocations: 0 / 0.9988 GB, free: 192.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01323/2.321, allocations: 3.277 MB / 1.002 GB, free: 189.5 MB / 0.67 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.03196/2.353, allocations: 14.83 MB / 1.017 GB, free: 174.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02418/2.377, allocations: 9.618 MB / 1.026 GB, free: 165 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/2.377, allocations: 4.25 kB / 1.026 GB, free: 165 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01174/2.389, allocations: 4.092 MB / 1.03 GB, free: 160.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00949/2.398, allocations: 1.283 MB / 1.031 GB, free: 159.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1279/2.526, allocations: 79.58 MB / 1.109 GB, free: 76.09 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01751/2.543, allocations: 9.116 MB / 1.118 GB, free: 66.93 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007324/2.551, allocations: 2.936 MB / 1.121 GB, free: 63.98 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007231/2.558, allocations: 4.764 MB / 1.125 GB, free: 59.22 MB / 0.67 GB Notification: Performance of SimCode: time 1.412e-06/2.558, allocations: 0 / 1.125 GB, free: 59.22 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5189/3.077, allocations: 181.9 MB / 1.303 GB, free: 137.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.73/27.8, allocations: 13.03 kB / 1.303 GB, free: 137.5 MB / 0.67 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 656] Reference file matches [Calling sys.exit(0), Time elapsed: 39.25390362198232]