Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001516/0.001516, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001564/0.001564, allocations: 211.1 kB / 23.73 MB, free: 4.387 MB / 14.72 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2527/0.2527, allocations: 44.94 MB / 358.9 MB, free: 6.012 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002165/0.002165, allocations: 63.89 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3364, allocations: 65.47 MB / 0.557 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02362/0.3601, allocations: 19.53 MB / 0.576 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01347/0.3735, allocations: 5.397 MB / 0.5813 GB, free: 14.49 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005257/0.3788, allocations: 230.8 kB / 0.5815 GB, free: 14.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02326/0.4021, allocations: 8.838 MB / 0.5902 GB, free: 5.406 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009605/0.4117, allocations: 2.183 MB / 0.5923 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006633/0.4183, allocations: 1.882 MB / 0.5941 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01952/0.4378, allocations: 14.55 MB / 0.6083 GB, free: 2.746 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04492/0.4827, allocations: 21.12 MB / 0.629 GB, free: 13.39 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01424/0.497, allocations: 8.164 MB / 0.6369 GB, free: 5.211 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01687/0.5138, allocations: 8.721 MB / 0.6455 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007101/0.5209, allocations: 2.102 MB / 0.6475 GB, free: 10.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008362/0.5293, allocations: 2.34 MB / 0.6498 GB, free: 8.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008146/0.5375, allocations: 4.333 MB / 0.654 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01572/0.5532, allocations: 6.592 MB / 0.6605 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03764/0.5908, allocations: 28.92 MB / 0.6887 GB, free: 52 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.5908, allocations: 0 / 0.6887 GB, free: 52 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5908, allocations: 0 / 0.6887 GB, free: 52 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0008962/0.5917, allocations: 0 / 0.6887 GB, free: 52 kB / 0.5137 GB 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.06243/0.6541, allocations: 18.94 MB / 0.7072 GB, free: 13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.6542, allocations: 8.031 kB / 0.7072 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007597/0.6618, allocations: 2.013 MB / 0.7092 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06165/0.7234, allocations: 11.48 MB / 0.7204 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02757/0.751, allocations: 9.048 MB / 0.7292 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001944/0.753, allocations: 1.059 MB / 0.7303 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007828/0.7608, allocations: 1.371 MB / 0.7316 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6151/1.376, allocations: 23.93 MB / 0.755 GB, free: 128.6 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006107/1.376, allocations: 21.31 kB / 0.755 GB, free: 128.6 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005321/1.382, allocations: 0.5711 MB / 0.7555 GB, free: 128.1 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006675/1.382, allocations: 0.6972 MB / 0.7562 GB, free: 128.1 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04182/1.424, allocations: 21.66 MB / 0.7774 GB, free: 108.2 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1115/1.536, allocations: 63.35 MB / 0.8392 GB, free: 44.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01639/1.552, allocations: 11.34 MB / 0.8503 GB, free: 34.87 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006241/1.558, allocations: 4.504 MB / 0.8547 GB, free: 30.34 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02494/1.583, allocations: 14.35 MB / 0.8687 GB, free: 16.17 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.684e-05/1.583, allocations: 78.11 kB / 0.8688 GB, free: 16.08 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 1.02e-05/1.583, allocations: 0 / 0.8688 GB, free: 16.08 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03484/1.618, allocations: 15.45 MB / 0.8839 GB, free: 0.6016 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/1.618, allocations: 124.7 kB / 0.884 GB, free: 472 kB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01086/1.629, allocations: 5.297 MB / 0.8892 GB, free: 11.29 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001021/1.63, allocations: 97.7 kB / 0.8893 GB, free: 11.19 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0053/1.636, allocations: 6.102 MB / 0.8952 GB, free: 5.531 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002695/1.638, allocations: 1.666 MB / 0.8969 GB, free: 3.852 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004803/1.643, allocations: 1.551 MB / 0.8984 GB, free: 2.293 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.643, allocations: 305.1 kB / 0.8987 GB, free: 1.992 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008479/1.652, allocations: 4.152 MB / 0.9027 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01223/1.664, allocations: 7.27 MB / 0.9098 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02068/1.685, allocations: 11.95 MB / 0.9215 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001734/1.685, allocations: 32 kB / 0.9215 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03139/1.716, allocations: 13.09 MB / 0.9343 GB, free: 10.56 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001436/1.716, allocations: 48 kB / 0.9343 GB, free: 10.52 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002424/1.716, allocations: 104 kB / 0.9344 GB, free: 10.41 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007223/1.724, allocations: 3.083 MB / 0.9375 GB, free: 7.316 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006412/1.73, allocations: 1.603 MB / 0.939 GB, free: 5.711 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009665/1.731, allocations: 346.9 kB / 0.9393 GB, free: 5.363 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006687/1.738, allocations: 1.075 MB / 0.9404 GB, free: 4.281 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/1.739, allocations: 384 kB / 0.9408 GB, free: 3.906 MB / 0.6232 GB 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.01238/1.752, allocations: 5.39 MB / 0.946 GB, free: 14.5 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001878/1.754, allocations: 0.524 MB / 0.9465 GB, free: 13.97 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02032/1.774, allocations: 9.545 MB / 0.9559 GB, free: 4.395 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.824e-05/1.774, allocations: 48 kB / 0.9559 GB, free: 4.348 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/1.774, allocations: 0 / 0.9559 GB, free: 4.348 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001102/1.774, allocations: 27.91 kB / 0.9559 GB, free: 4.32 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05057/1.825, allocations: 20.07 MB / 0.9755 GB, free: 172 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.501e-05/1.825, allocations: 0 / 0.9755 GB, free: 172 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003625/1.828, allocations: 0.7372 MB / 0.9763 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00693/1.835, allocations: 2.961 MB / 0.9791 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009634/1.836, allocations: 112 kB / 0.9793 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000715/1.837, allocations: 146.5 kB / 0.9794 GB, free: 12.19 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.837, allocations: 0 / 0.9794 GB, free: 12.19 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3495/2.186, allocations: 14.19 MB / 0.9932 GB, free: 226 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004963/2.191, allocations: 1.37 MB / 0.9946 GB, free: 226 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001558/2.193, allocations: 79.78 kB / 0.9947 GB, free: 226 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003946/2.197, allocations: 366.6 kB / 0.995 GB, free: 226 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009143/2.198, allocations: 339.2 kB / 0.9953 GB, free: 226 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000334/2.198, allocations: 131.4 kB / 0.9955 GB, free: 226 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006114/2.204, allocations: 3.426 MB / 0.9988 GB, free: 225.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.11e-07/2.204, allocations: 0 / 0.9988 GB, free: 225.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009635/2.214, allocations: 3.238 MB / 1.002 GB, free: 224.8 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.02141/2.235, allocations: 14.91 MB / 1.017 GB, free: 218.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0177/2.253, allocations: 9.514 MB / 1.026 GB, free: 215.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/2.253, allocations: 5.016 kB / 1.026 GB, free: 215.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00906/2.262, allocations: 4.104 MB / 1.03 GB, free: 213.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008164/2.27, allocations: 1.271 MB / 1.031 GB, free: 212.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1639/2.434, allocations: 77.9 MB / 1.107 GB, free: 135.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01221/2.446, allocations: 8.629 MB / 1.116 GB, free: 126.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006539/2.453, allocations: 2.869 MB / 1.118 GB, free: 123.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006165/2.459, allocations: 4.701 MB / 1.123 GB, free: 118.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.302e-06/2.459, allocations: 0 / 1.123 GB, free: 118.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5411/3, allocations: 175.5 MB / 1.294 GB, free: 220.3 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.46/24.46, allocations: 5.906 kB / 1.294 GB, free: 220.3 MB / 0.6857 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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.515113182831556]