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.001106/0.001106, allocations: 113.8 kB / 17.78 MB, free: 5.273 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.001081/0.001081, allocations: 179.1 kB / 18.71 MB, free: 4.352 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.28/1.28, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.189/0.189, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2895, allocations: 60.84 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02202/0.3115, allocations: 22.72 MB / 0.5406 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.3236, allocations: 5.463 MB / 0.546 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004353/0.328, allocations: 191.8 kB / 0.5461 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02037/0.3484, allocations: 9.519 MB / 0.5554 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008413/0.3568, allocations: 2.311 MB / 0.5577 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004828/0.3617, allocations: 1.704 MB / 0.5594 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01548/0.3772, allocations: 14.48 MB / 0.5735 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0462/0.4234, allocations: 34.28 MB / 0.607 GB, free: 1.047 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01107/0.4345, allocations: 7.992 MB / 0.6148 GB, free: 9.031 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01247/0.447, allocations: 8.717 MB / 0.6233 GB, free: 292 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005756/0.4528, allocations: 2.098 MB / 0.6253 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007503/0.4603, allocations: 2.339 MB / 0.6276 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006331/0.4667, allocations: 4.329 MB / 0.6318 GB, free: 7.512 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01336/0.4801, allocations: 8.424 MB / 0.6401 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03405/0.5142, allocations: 28.75 MB / 0.6681 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5142, allocations: 0 / 0.6681 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5142, allocations: 0 / 0.6681 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0005973/0.5148, allocations: 0 / 0.6681 GB, free: 2.215 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.05662/0.5714, allocations: 19.01 MB / 0.6867 GB, free: 15.08 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.5715, allocations: 16.02 kB / 0.6867 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006225/0.5777, allocations: 2.01 MB / 0.6887 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06161/0.6394, allocations: 11.75 MB / 0.7002 GB, free: 1.266 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02052/0.6599, allocations: 8.873 MB / 0.7088 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001223/0.6612, allocations: 1.055 MB / 0.7099 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005079/0.6663, allocations: 1.379 MB / 0.7112 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4483/1.115, allocations: 23.58 MB / 0.7342 GB, free: 141.9 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005882/1.115, allocations: 14.3 kB / 0.7342 GB, free: 141.9 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004049/1.119, allocations: 0.572 MB / 0.7348 GB, free: 141.5 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008554/1.12, allocations: 0.7021 MB / 0.7355 GB, free: 141.4 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03891/1.159, allocations: 21.69 MB / 0.7567 GB, free: 130.3 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1027/1.262, allocations: 71.03 MB / 0.826 GB, free: 58.82 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01938/1.281, allocations: 28.65 MB / 0.854 GB, free: 27.48 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006875/1.288, allocations: 4.961 MB / 0.8589 GB, free: 22.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02652/1.315, allocations: 15.69 MB / 0.8742 GB, free: 6.797 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/1.315, allocations: 90.11 kB / 0.8743 GB, free: 6.699 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 6.442e-06/1.315, allocations: 3.938 kB / 0.8743 GB, free: 6.695 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03505/1.35, allocations: 15.72 MB / 0.8896 GB, free: 6.895 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/1.35, allocations: 124.7 kB / 0.8897 GB, free: 6.754 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008601/1.359, allocations: 5.115 MB / 0.8947 GB, free: 1.703 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007249/1.359, allocations: 97.7 kB / 0.8948 GB, free: 1.602 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003957/1.363, allocations: 6.103 MB / 0.9008 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00184/1.365, allocations: 1.662 MB / 0.9024 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003154/1.368, allocations: 1.544 MB / 0.9039 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.876e-05/1.368, allocations: 305.1 kB / 0.9042 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006735/1.375, allocations: 4.144 MB / 0.9082 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009026/1.384, allocations: 7.262 MB / 0.9153 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01616/1.4, allocations: 11.93 MB / 0.927 GB, free: 14.23 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.824e-05/1.401, allocations: 36 kB / 0.927 GB, free: 14.2 MB / 0.6232 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02372/1.424, allocations: 13.13 MB / 0.9398 GB, free: 1.047 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.000112/1.424, allocations: 48 kB / 0.9399 GB, free: 1 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001665/1.425, allocations: 104 kB / 0.94 GB, free: 0.8984 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006929/1.432, allocations: 3.103 MB / 0.943 GB, free: 13.79 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006359/1.438, allocations: 1.595 MB / 0.9446 GB, free: 12.19 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009037/1.439, allocations: 335 kB / 0.9449 GB, free: 11.85 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006153/1.445, allocations: 1.075 MB / 0.9459 GB, free: 10.77 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001275/1.446, allocations: 388 kB / 0.9463 GB, free: 10.39 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.009094/1.455, allocations: 5.39 MB / 0.9516 GB, free: 4.984 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/1.457, allocations: 0.5161 MB / 0.9521 GB, free: 4.465 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01742/1.474, allocations: 9.631 MB / 0.9615 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.612e-05/1.474, allocations: 51.98 kB / 0.9615 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/1.474, allocations: 0 / 0.9615 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-05/1.474, allocations: 23.91 kB / 0.9616 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2673/1.742, allocations: 20.76 MB / 0.9818 GB, free: 222.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/1.742, allocations: 1.656 kB / 0.9818 GB, free: 222.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003011/1.745, allocations: 0.7316 MB / 0.9826 GB, free: 222.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0058/1.751, allocations: 2.97 MB / 0.9855 GB, free: 221.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005978/1.751, allocations: 95.19 kB / 0.9855 GB, free: 221.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006289/1.752, allocations: 146.3 kB / 0.9857 GB, free: 221.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.752, allocations: 4.922 kB / 0.9857 GB, free: 221.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01879/1.771, allocations: 14.23 MB / 0.9996 GB, free: 216.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003398/1.774, allocations: 1.392 MB / 1.001 GB, free: 215.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/1.775, allocations: 83.78 kB / 1.001 GB, free: 215.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003023/1.778, allocations: 365.7 kB / 1.001 GB, free: 215.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006677/1.779, allocations: 317.1 kB / 1.002 GB, free: 215.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000298/1.779, allocations: 133.2 kB / 1.002 GB, free: 215.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004795/1.784, allocations: 3.421 MB / 1.005 GB, free: 214.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.11e-07/1.784, allocations: 0 / 1.005 GB, free: 214.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.007789/1.792, allocations: 3.236 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.01823/1.81, allocations: 14.95 MB / 1.023 GB, free: 206.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01404/1.824, allocations: 9.905 MB / 1.033 GB, free: 197.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.824, allocations: 4 kB / 1.033 GB, free: 197.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.007138/1.831, allocations: 4.44 MB / 1.037 GB, free: 194 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005873/1.837, allocations: 1.271 MB / 1.038 GB, free: 192.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.108/1.945, allocations: 77.76 MB / 1.114 GB, free: 112.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01202/1.957, allocations: 9.01 MB / 1.123 GB, free: 103.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006847/1.964, allocations: 2.869 MB / 1.126 GB, free: 100.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006738/1.971, allocations: 4.678 MB / 1.13 GB, free: 95.54 MB / 0.6544 GB Notification: Performance of SimCode: time 1.232e-06/1.971, allocations: 0 / 1.13 GB, free: 95.54 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4338/2.405, allocations: 178.6 MB / 1.305 GB, free: 158.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.74/24.14, allocations: 0 / 1.305 GB, free: 158.6 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