Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001796/0.001796, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002203/0.002203, allocations: 214 kB / 24.52 MB, free: 3.914 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.544/1.544, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2332/0.2332, allocations: 46.97 MB / 361.7 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 63.91 kB / 0.4969 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3384, allocations: 66.02 MB / 0.5614 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02476/0.3631, allocations: 19.53 MB / 0.5804 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.3774, allocations: 5.374 MB / 0.5857 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005079/0.3824, allocations: 230.8 kB / 0.5859 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02223/0.4047, allocations: 8.839 MB / 0.5945 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009158/0.4138, allocations: 2.206 MB / 0.5967 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006378/0.4202, allocations: 1.871 MB / 0.5985 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01933/0.4395, allocations: 14.54 MB / 0.6127 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04125/0.4808, allocations: 21.3 MB / 0.6335 GB, free: 9.949 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01451/0.4953, allocations: 8.167 MB / 0.6415 GB, free: 1.762 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01683/0.5121, allocations: 8.803 MB / 0.6501 GB, free: 8.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00771/0.5198, allocations: 2.098 MB / 0.6521 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008489/0.5283, allocations: 2.351 MB / 0.6544 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007483/0.5358, allocations: 4.333 MB / 0.6586 GB, free: 140 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01376/0.5496, allocations: 6.592 MB / 0.6651 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03786/0.5874, allocations: 28.9 MB / 0.6933 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.5874, allocations: 8 kB / 0.6933 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5874, allocations: 0 / 0.6933 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001001/0.5884, allocations: 0 / 0.6933 GB, free: 12.51 MB / 0.5294 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.07106/0.6595, allocations: 18.93 MB / 0.7118 GB, free: 9.473 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/0.6596, allocations: 12.03 kB / 0.7118 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000684/0.6603, allocations: 381.1 kB / 0.7122 GB, free: 9.086 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01234/0.6726, allocations: 2.013 MB / 0.7141 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09906/0.7717, allocations: 11.48 MB / 0.7254 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02252/0.7942, allocations: 9.055 MB / 0.7342 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001278/0.7955, allocations: 1.052 MB / 0.7352 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4997/1.295, allocations: 1.371 MB / 0.7366 GB, free: 134.2 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05768/1.353, allocations: 23.93 MB / 0.7599 GB, free: 124.9 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006659/1.353, allocations: 21.27 kB / 0.76 GB, free: 124.9 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004696/1.358, allocations: 0.5757 MB / 0.7605 GB, free: 124.3 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006807/1.359, allocations: 0.6939 MB / 0.7612 GB, free: 123.6 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04222/1.401, allocations: 21.74 MB / 0.7824 GB, free: 101.9 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.121/1.522, allocations: 63.35 MB / 0.8443 GB, free: 38.47 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01688/1.539, allocations: 11.34 MB / 0.8554 GB, free: 28.54 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006911/1.546, allocations: 4.508 MB / 0.8598 GB, free: 24.01 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02935/1.575, allocations: 14.34 MB / 0.8738 GB, free: 9.785 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.569e-05/1.575, allocations: 82.11 kB / 0.8739 GB, free: 9.695 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 1.035e-05/1.575, allocations: 0 / 0.8739 GB, free: 9.695 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03681/1.612, allocations: 15.44 MB / 0.8889 GB, free: 10.22 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.641e-05/1.612, allocations: 128.7 kB / 0.8891 GB, free: 10.07 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009609/1.622, allocations: 5.118 MB / 0.8941 GB, free: 5.023 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007874/1.623, allocations: 105.6 kB / 0.8942 GB, free: 4.914 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004965/1.628, allocations: 6.093 MB / 0.9001 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002344/1.63, allocations: 1.666 MB / 0.9017 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004072/1.634, allocations: 1.555 MB / 0.9033 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.634, allocations: 301.1 kB / 0.9035 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008223/1.642, allocations: 4.152 MB / 0.9076 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01128/1.654, allocations: 7.27 MB / 0.9147 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02004/1.674, allocations: 11.96 MB / 0.9264 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001288/1.674, allocations: 28 kB / 0.9264 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.0292/1.703, allocations: 13.07 MB / 0.9392 GB, free: 4.375 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001653/1.703, allocations: 56.16 kB / 0.9392 GB, free: 4.32 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001976/1.703, allocations: 108 kB / 0.9393 GB, free: 4.215 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007814/1.711, allocations: 3.09 MB / 0.9423 GB, free: 1.113 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007253/1.718, allocations: 1.599 MB / 0.9439 GB, free: 15.51 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/1.72, allocations: 350.9 kB / 0.9442 GB, free: 15.16 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007705/1.727, allocations: 1.075 MB / 0.9453 GB, free: 14.08 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002166/1.729, allocations: 387.9 kB / 0.9457 GB, free: 13.7 MB / 0.6388 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.0123/1.742, allocations: 5.382 MB / 0.9509 GB, free: 8.301 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002048/1.744, allocations: 0.5278 MB / 0.9514 GB, free: 7.77 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02226/1.766, allocations: 9.549 MB / 0.9607 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.402e-05/1.766, allocations: 48 kB / 0.9608 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.377e-05/1.766, allocations: 3.938 kB / 0.9608 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.243e-05/1.766, allocations: 27.91 kB / 0.9608 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04597/1.812, allocations: 20.07 MB / 0.9804 GB, free: 9.953 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.831e-05/1.812, allocations: 3.984 kB / 0.9804 GB, free: 9.949 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00389/1.816, allocations: 0.7449 MB / 0.9812 GB, free: 9.203 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007822/1.824, allocations: 2.954 MB / 0.984 GB, free: 6.234 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001146/1.825, allocations: 104 kB / 0.9841 GB, free: 6.133 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007694/1.826, allocations: 146.5 kB / 0.9843 GB, free: 5.98 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.826, allocations: 0 / 0.9843 GB, free: 5.98 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3664/2.192, allocations: 14.19 MB / 0.9981 GB, free: 225.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003277/2.195, allocations: 1.364 MB / 0.9995 GB, free: 225.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/2.197, allocations: 79.38 kB / 0.9996 GB, free: 225.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/2.199, allocations: 358.1 kB / 0.9999 GB, free: 225 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006818/2.2, allocations: 340.2 kB / 1 GB, free: 225 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003107/2.2, allocations: 141.1 kB / 1 GB, free: 224.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004807/2.205, allocations: 3.421 MB / 1.004 GB, free: 223.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/2.205, allocations: 0 / 1.004 GB, free: 223.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01028/2.216, allocations: 3.24 MB / 1.007 GB, free: 223.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.01926/2.235, allocations: 14.91 MB / 1.021 GB, free: 217.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01443/2.249, allocations: 9.514 MB / 1.031 GB, free: 211.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/2.249, allocations: 0 / 1.031 GB, free: 211.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008037/2.257, allocations: 4.11 MB / 1.035 GB, free: 207.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00769/2.265, allocations: 1.282 MB / 1.036 GB, free: 206.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1222/2.387, allocations: 77.9 MB / 1.112 GB, free: 126.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01533/2.402, allocations: 8.633 MB / 1.12 GB, free: 117.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007899/2.41, allocations: 2.873 MB / 1.123 GB, free: 114.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007793/2.418, allocations: 4.693 MB / 1.128 GB, free: 109.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.403e-06/2.418, allocations: 0 / 1.128 GB, free: 109.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5188/2.937, allocations: 175 MB / 1.299 GB, free: 207.8 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.83/28.77, allocations: 11.67 kB / 1.299 GB, free: 207.8 MB / 0.6857 GB " [Timeout remaining time 631] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal_fmu --startTime=0 --stopTime=1 --stepSize=0.00019976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 38.310621476965025]