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.001023/0.001023, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.0009934/0.0009935, allocations: 183 kB / 18.72 MB, free: 4.332 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.284/1.284, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.1924/0.1924, allocations: 44.19 MB / 336.8 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 71.89 kB / 470.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2831, allocations: 60.81 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02111/0.3042, allocations: 22.72 MB / 0.5406 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.3152, allocations: 5.458 MB / 0.5459 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002708/0.318, allocations: 196.9 kB / 0.5461 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01904/0.337, allocations: 9.517 MB / 0.5554 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006876/0.3439, allocations: 2.323 MB / 0.5577 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003825/0.3477, allocations: 1.708 MB / 0.5594 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01382/0.3616, allocations: 14.47 MB / 0.5735 GB, free: 3.613 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04071/0.4023, allocations: 34.28 MB / 0.607 GB, free: 1.105 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009641/0.412, allocations: 7.992 MB / 0.6148 GB, free: 9.094 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01178/0.4238, allocations: 8.717 MB / 0.6233 GB, free: 356 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00336/0.4272, allocations: 2.102 MB / 0.6253 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004403/0.4316, allocations: 2.343 MB / 0.6276 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003642/0.4352, allocations: 4.314 MB / 0.6318 GB, free: 7.582 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01114/0.4464, allocations: 8.436 MB / 0.6401 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02897/0.4754, allocations: 28.75 MB / 0.6681 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4754, allocations: 0 / 0.6681 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4755, allocations: 0 / 0.6681 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0005534/0.476, allocations: 0 / 0.6681 GB, free: 2.277 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.05315/0.5292, allocations: 19 MB / 0.6867 GB, free: 15.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.5292, allocations: 11.97 kB / 0.6867 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005199/0.5344, allocations: 2.013 MB / 0.6887 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06234/0.5968, allocations: 11.75 MB / 0.7002 GB, free: 1.332 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01662/0.6134, allocations: 8.869 MB / 0.7088 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009163/0.6144, allocations: 1.059 MB / 0.7099 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004078/0.6185, allocations: 1.379 MB / 0.7112 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4451/1.064, allocations: 23.58 MB / 0.7342 GB, free: 141.9 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002996/1.064, allocations: 18.36 kB / 0.7343 GB, free: 141.9 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001677/1.066, allocations: 0.5721 MB / 0.7348 GB, free: 141.5 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006251/1.066, allocations: 0.7015 MB / 0.7355 GB, free: 141.4 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03348/1.1, allocations: 21.68 MB / 0.7567 GB, free: 130.4 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08938/1.189, allocations: 71.03 MB / 0.826 GB, free: 58.92 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01841/1.208, allocations: 28.65 MB / 0.854 GB, free: 27.58 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00583/1.213, allocations: 4.961 MB / 0.8589 GB, free: 22.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02169/1.235, allocations: 15.7 MB / 0.8742 GB, free: 6.898 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/1.235, allocations: 82.11 kB / 0.8743 GB, free: 6.809 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 5.591e-06/1.235, allocations: 0 / 0.8743 GB, free: 6.809 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03371/1.269, allocations: 15.73 MB / 0.8896 GB, free: 7 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/1.269, allocations: 128.7 kB / 0.8897 GB, free: 6.855 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007553/1.277, allocations: 5.108 MB / 0.8947 GB, free: 1.812 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0003558/1.277, allocations: 101.7 kB / 0.8948 GB, free: 1.707 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003713/1.281, allocations: 6.098 MB / 0.9008 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001469/1.282, allocations: 1.67 MB / 0.9024 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002374/1.285, allocations: 1.544 MB / 0.9039 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.289e-05/1.285, allocations: 301.1 kB / 0.9042 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006176/1.291, allocations: 4.144 MB / 0.9083 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008326/1.299, allocations: 7.262 MB / 0.9154 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01517/1.314, allocations: 11.93 MB / 0.927 GB, free: 14.34 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.755e-05/1.314, allocations: 32 kB / 0.927 GB, free: 14.3 MB / 0.6232 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.0224/1.337, allocations: 13.12 MB / 0.9398 GB, free: 1.16 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 8.351e-05/1.337, allocations: 52 kB / 0.9399 GB, free: 1.109 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/1.337, allocations: 104.8 kB / 0.94 GB, free: 1.008 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006569/1.344, allocations: 3.094 MB / 0.943 GB, free: 13.9 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005528/1.349, allocations: 1.595 MB / 0.9446 GB, free: 12.3 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007581/1.35, allocations: 334.9 kB / 0.9449 GB, free: 11.96 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00554/1.356, allocations: 1.083 MB / 0.946 GB, free: 10.88 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008347/1.356, allocations: 384 kB / 0.9463 GB, free: 10.5 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.008481/1.365, allocations: 5.382 MB / 0.9516 GB, free: 5.102 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/1.366, allocations: 0.5239 MB / 0.9521 GB, free: 4.574 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/1.382, allocations: 9.635 MB / 0.9615 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.631e-05/1.382, allocations: 48 kB / 0.9615 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/1.382, allocations: 3.938 kB / 0.9615 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.216e-05/1.382, allocations: 23.91 kB / 0.9616 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.25/1.632, allocations: 20.76 MB / 0.9818 GB, free: 222.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.632, allocations: 1.125 kB / 0.9818 GB, free: 222.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002913/1.635, allocations: 0.733 MB / 0.9826 GB, free: 222.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005638/1.641, allocations: 2.969 MB / 0.9855 GB, free: 221.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003187/1.641, allocations: 95.19 kB / 0.9855 GB, free: 221.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006104/1.642, allocations: 144.6 kB / 0.9857 GB, free: 221.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.642, allocations: 0 / 0.9857 GB, free: 221.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01649/1.658, allocations: 14.24 MB / 0.9996 GB, free: 216.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002307/1.66, allocations: 1.389 MB / 1.001 GB, free: 215.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006329/1.661, allocations: 87.16 kB / 1.001 GB, free: 215.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00247/1.663, allocations: 363.7 kB / 1.001 GB, free: 215.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006581/1.664, allocations: 310.4 kB / 1.002 GB, free: 215.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002923/1.664, allocations: 138.8 kB / 1.002 GB, free: 215.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004026/1.668, allocations: 3.421 MB / 1.005 GB, free: 214.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/1.668, allocations: 0 / 1.005 GB, free: 214.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006091/1.675, allocations: 3.231 MB / 1.008 GB, free: 213.8 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.01658/1.691, allocations: 14.95 MB / 1.023 GB, free: 206.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01298/1.704, allocations: 9.904 MB / 1.033 GB, free: 197.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.704, allocations: 0 / 1.033 GB, free: 197.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006341/1.711, allocations: 4.445 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.005109/1.716, allocations: 1.274 MB / 1.038 GB, free: 193.1 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09135/1.807, allocations: 77.77 MB / 1.114 GB, free: 112.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00707/1.814, allocations: 9.01 MB / 1.123 GB, free: 103.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005644/1.82, allocations: 2.865 MB / 1.126 GB, free: 100.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004288/1.824, allocations: 4.678 MB / 1.13 GB, free: 95.68 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/1.824, allocations: 4 kB / 1.13 GB, free: 95.67 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4291/2.253, allocations: 178.6 MB / 1.305 GB, free: 159 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.26/24.51, allocations: 3.938 kB / 1.305 GB, free: 159 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