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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 113.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 179.1 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2118/0.2118, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 63.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3268, allocations: 60.83 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02462/0.3515, allocations: 22.72 MB / 0.5406 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01332/0.3648, allocations: 5.462 MB / 0.5459 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004618/0.3695, allocations: 196.2 kB / 0.5461 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0219/0.3914, allocations: 9.485 MB / 0.5554 GB, free: 6.156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008793/0.4002, allocations: 2.299 MB / 0.5576 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005172/0.4054, allocations: 1.699 MB / 0.5593 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01866/0.4241, allocations: 14.48 MB / 0.5734 GB, free: 3.645 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0516/0.4757, allocations: 34.28 MB / 0.6069 GB, free: 1.137 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01218/0.4879, allocations: 7.96 MB / 0.6147 GB, free: 9.156 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01436/0.5023, allocations: 8.725 MB / 0.6232 GB, free: 412 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005679/0.508, allocations: 2.098 MB / 0.6253 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007375/0.5154, allocations: 2.34 MB / 0.6275 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006659/0.5221, allocations: 4.321 MB / 0.6318 GB, free: 7.633 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01496/0.5371, allocations: 8.424 MB / 0.64 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03682/0.5739, allocations: 28.75 MB / 0.6681 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.574, allocations: 0 / 0.6681 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.974e-06/0.574, allocations: 0 / 0.6681 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.001003/0.575, allocations: 0 / 0.6681 GB, free: 2.332 MB / 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.06058/0.6356, allocations: 19 MB / 0.6866 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.6357, allocations: 12.03 kB / 0.6866 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006748/0.6424, allocations: 2.013 MB / 0.6886 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06352/0.706, allocations: 11.76 MB / 0.7001 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01922/0.7252, allocations: 8.865 MB / 0.7087 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001258/0.7265, allocations: 1.063 MB / 0.7098 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005254/0.7318, allocations: 1.371 MB / 0.7111 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4593/1.191, allocations: 23.58 MB / 0.7342 GB, free: 141.9 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004715/1.192, allocations: 22.67 kB / 0.7342 GB, free: 141.9 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00307/1.195, allocations: 0.5681 MB / 0.7347 GB, free: 141.4 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007556/1.196, allocations: 0.7023 MB / 0.7354 GB, free: 141.4 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03866/1.234, allocations: 21.68 MB / 0.7566 GB, free: 130.5 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09557/1.33, allocations: 71.03 MB / 0.826 GB, free: 58.96 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01802/1.348, allocations: 28.64 MB / 0.8539 GB, free: 27.62 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006194/1.354, allocations: 4.973 MB / 0.8588 GB, free: 22.63 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02078/1.375, allocations: 15.69 MB / 0.8741 GB, free: 6.941 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/1.375, allocations: 86.09 kB / 0.8742 GB, free: 6.848 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 6.041e-06/1.375, allocations: 0 / 0.8742 GB, free: 6.848 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03526/1.41, allocations: 15.73 MB / 0.8895 GB, free: 7.039 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/1.41, allocations: 124.7 kB / 0.8897 GB, free: 6.898 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007882/1.418, allocations: 5.112 MB / 0.8947 GB, free: 1.852 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0005835/1.419, allocations: 97.7 kB / 0.8948 GB, free: 1.75 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.004661/1.424, allocations: 6.102 MB / 0.9007 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001911/1.425, allocations: 1.666 MB / 0.9023 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002553/1.428, allocations: 1.54 MB / 0.9038 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.428, allocations: 305.2 kB / 0.9041 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006701/1.435, allocations: 4.144 MB / 0.9082 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009391/1.444, allocations: 7.266 MB / 0.9153 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01684/1.461, allocations: 11.93 MB / 0.9269 GB, free: 14.38 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.568e-05/1.461, allocations: 32 kB / 0.927 GB, free: 14.35 MB / 0.6232 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02362/1.485, allocations: 13.13 MB / 0.9398 GB, free: 1.199 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-05/1.485, allocations: 48 kB / 0.9398 GB, free: 1.152 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001522/1.485, allocations: 104 kB / 0.9399 GB, free: 1.051 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006855/1.492, allocations: 3.098 MB / 0.9429 GB, free: 13.95 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00554/1.498, allocations: 1.595 MB / 0.9445 GB, free: 12.35 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007552/1.498, allocations: 335 kB / 0.9448 GB, free: 12.01 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005143/1.503, allocations: 1.083 MB / 0.9459 GB, free: 10.92 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006409/1.504, allocations: 380 kB / 0.9462 GB, free: 10.55 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.008561/1.513, allocations: 5.39 MB / 0.9515 GB, free: 5.141 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009898/1.514, allocations: 0.5161 MB / 0.952 GB, free: 4.621 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/1.53, allocations: 9.639 MB / 0.9614 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.473e-05/1.53, allocations: 48 kB / 0.9615 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.53, allocations: 0 / 0.9615 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-05/1.531, allocations: 23.91 kB / 0.9615 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2671/1.798, allocations: 20.76 MB / 0.9818 GB, free: 222.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/1.798, allocations: 1.438 kB / 0.9818 GB, free: 222.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003136/1.801, allocations: 0.7282 MB / 0.9825 GB, free: 222.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006112/1.807, allocations: 2.966 MB / 0.9854 GB, free: 221.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007533/1.808, allocations: 95.09 kB / 0.9855 GB, free: 221.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006562/1.808, allocations: 149.5 kB / 0.9856 GB, free: 221.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.808, allocations: 1.062 kB / 0.9856 GB, free: 221.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01834/1.827, allocations: 14.24 MB / 0.9995 GB, free: 216.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002345/1.829, allocations: 1.389 MB / 1.001 GB, free: 215.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006924/1.83, allocations: 75.84 kB / 1.001 GB, free: 215.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00255/1.832, allocations: 369.6 kB / 1.001 GB, free: 215.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006378/1.833, allocations: 317 kB / 1.002 GB, free: 215.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002909/1.833, allocations: 127.8 kB / 1.002 GB, free: 215.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004129/1.838, allocations: 3.423 MB / 1.005 GB, free: 214.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/1.838, allocations: 2.156 kB / 1.005 GB, free: 214.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006717/1.844, allocations: 3.233 MB / 1.008 GB, free: 213.7 MB / 0.6544 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.01802/1.862, allocations: 14.95 MB / 1.023 GB, free: 206.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01421/1.877, allocations: 9.906 MB / 1.033 GB, free: 197.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.877, allocations: 4 kB / 1.033 GB, free: 197.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007012/1.884, allocations: 4.449 MB / 1.037 GB, free: 194.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005633/1.889, allocations: 1.263 MB / 1.038 GB, free: 193 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09259/1.982, allocations: 77.77 MB / 1.114 GB, free: 112.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008075/1.99, allocations: 9.006 MB / 1.123 GB, free: 103.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005526/1.996, allocations: 2.865 MB / 1.126 GB, free: 100.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005194/2.001, allocations: 4.686 MB / 1.13 GB, free: 95.64 MB / 0.6544 GB Notification: Performance of SimCode: time 7.31e-07/2.001, allocations: 0 / 1.13 GB, free: 95.64 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4525/2.453, allocations: 178.6 MB / 1.305 GB, free: 158.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 23/25.45, allocations: 13.89 kB / 1.305 GB, free: 158.8 MB / 0.6544 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_Ideal.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.csv","/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) Reference file matches