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.00108/0.00108, allocations: 104.1 kB / 17.63 MB, free: 5.48 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.001118/0.001118, allocations: 192 kB / 18.56 MB, free: 4.562 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.34/1.34, allocations: 222.9 MB / 242.3 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.2031/0.2031, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 60.62 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1068, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02314/0.13, allocations: 22.71 MB / 492.1 MB, free: 7.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.1416, allocations: 5.459 MB / 497.5 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004823/0.1464, allocations: 199.4 kB / 497.7 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02083/0.1673, allocations: 9.489 MB / 0.4953 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008412/0.1758, allocations: 2.292 MB / 0.4976 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005065/0.1808, allocations: 1.706 MB / 0.4992 GB, free: 4.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2124/0.3933, allocations: 14.35 MB / 0.5132 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04465/0.438, allocations: 34.43 MB / 0.5469 GB, free: 9.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0125/0.4505, allocations: 7.945 MB / 0.5546 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01444/0.465, allocations: 8.818 MB / 0.5632 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005781/0.4708, allocations: 2.098 MB / 0.5653 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008408/0.4792, allocations: 2.333 MB / 0.5676 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006985/0.4863, allocations: 4.327 MB / 0.5718 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0168/0.5031, allocations: 8.617 MB / 0.5802 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02992/0.533, allocations: 28.52 MB / 0.6081 GB, free: 15.7 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.5331, allocations: 0 / 0.6081 GB, free: 15.7 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5331, allocations: 7.688 kB / 0.6081 GB, free: 15.7 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008904/0.534, allocations: 0 / 0.6081 GB, free: 15.7 MB / 462.1 MB 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.05965/0.5936, allocations: 18.69 MB / 0.6263 GB, free: 13.09 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.5937, allocations: 8.031 kB / 0.6263 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007337/0.6011, allocations: 2.015 MB / 0.6283 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06252/0.6636, allocations: 11.68 MB / 0.6397 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01838/0.682, allocations: 8.559 MB / 0.6481 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00111/0.6831, allocations: 1.049 MB / 0.6491 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005202/0.6884, allocations: 1.382 MB / 0.6504 GB, free: 4.852 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0542/0.7426, allocations: 23.58 MB / 0.6735 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005217/0.7431, allocations: 27.8 kB / 0.6735 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003789/0.7469, allocations: 0.5651 MB / 0.674 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006973/0.7477, allocations: 0.7015 MB / 0.6747 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04482/0.7925, allocations: 21.69 MB / 0.6959 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4834/1.276, allocations: 71.72 MB / 0.7659 GB, free: 93.38 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01825/1.294, allocations: 28.66 MB / 0.7939 GB, free: 67.06 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006345/1.301, allocations: 4.961 MB / 0.7988 GB, free: 64.45 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02153/1.322, allocations: 15.67 MB / 0.8141 GB, free: 50.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/1.322, allocations: 94.03 kB / 0.8142 GB, free: 50.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 6.292e-06/1.322, allocations: 3.984 kB / 0.8142 GB, free: 50.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03109/1.353, allocations: 15.7 MB / 0.8295 GB, free: 34.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/1.353, allocations: 120.7 kB / 0.8296 GB, free: 34.22 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005682/1.359, allocations: 5.119 MB / 0.8346 GB, free: 29.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003203/1.359, allocations: 101.7 kB / 0.8347 GB, free: 28.99 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002054/1.361, allocations: 5.885 MB / 0.8405 GB, free: 23.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009539/1.362, allocations: 1.586 MB / 0.842 GB, free: 21.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001805/1.364, allocations: 1.538 MB / 0.8435 GB, free: 19.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.49e-05/1.364, allocations: 301.1 kB / 0.8438 GB, free: 19.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004787/1.369, allocations: 4.141 MB / 0.8478 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005705/1.375, allocations: 7.269 MB / 0.8549 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01269/1.387, allocations: 11.92 MB / 0.8666 GB, free: 9.895 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.041e-05/1.388, allocations: 32 kB / 0.8666 GB, free: 9.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02245/1.41, allocations: 13.1 MB / 0.8794 GB, free: 13.37 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.037e-05/1.41, allocations: 49.56 kB / 0.8795 GB, free: 13.32 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001716/1.41, allocations: 107.7 kB / 0.8796 GB, free: 13.22 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007001/1.417, allocations: 3.106 MB / 0.8826 GB, free: 10.11 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005882/1.423, allocations: 1.593 MB / 0.8842 GB, free: 8.629 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008347/1.424, allocations: 339.9 kB / 0.8845 GB, free: 8.328 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005823/1.43, allocations: 1.053 MB / 0.8855 GB, free: 7.266 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008547/1.431, allocations: 384 kB / 0.8859 GB, free: 6.891 MB / 0.5607 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.008885/1.44, allocations: 5.388 MB / 0.8911 GB, free: 1.605 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/1.441, allocations: 0.4938 MB / 0.8916 GB, free: 1.105 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01631/1.457, allocations: 9.642 MB / 0.901 GB, free: 7.445 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.589e-05/1.457, allocations: 48 kB / 0.9011 GB, free: 7.398 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.587e-05/1.457, allocations: 0 / 0.9011 GB, free: 7.398 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.781e-05/1.457, allocations: 23.91 kB / 0.9011 GB, free: 7.375 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04378/1.501, allocations: 20.81 MB / 0.9214 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.912e-05/1.501, allocations: 0 / 0.9214 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003485/1.505, allocations: 0.7233 MB / 0.9221 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2236/1.728, allocations: 2.979 MB / 0.925 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009236/1.729, allocations: 97.92 kB / 0.9251 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006951/1.73, allocations: 154.1 kB / 0.9253 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.73, allocations: 4.969 kB / 0.9253 GB, free: 215.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02271/1.753, allocations: 14.2 MB / 0.9391 GB, free: 212.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003223/1.756, allocations: 1.366 MB / 0.9405 GB, free: 212 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/1.757, allocations: 77.22 kB / 0.9406 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003399/1.761, allocations: 373.8 kB / 0.9409 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007324/1.761, allocations: 308.9 kB / 0.9412 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003117/1.762, allocations: 129.8 kB / 0.9413 GB, free: 211.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004402/1.766, allocations: 3.423 MB / 0.9447 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/1.766, allocations: 3.188 kB / 0.9447 GB, free: 210.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007389/1.774, allocations: 3.18 MB / 0.9478 GB, free: 209.6 MB / 0.5919 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.01798/1.792, allocations: 14.93 MB / 0.9624 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.03549/1.827, allocations: 19.61 MB / 0.9815 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.827, allocations: 9.125 kB / 0.9815 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006829/1.834, allocations: 4.444 MB / 0.9859 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005514/1.839, allocations: 1.272 MB / 0.9871 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.113/1.952, allocations: 89.88 MB / 1.075 GB, free: 90.38 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0101/1.963, allocations: 9.014 MB / 1.084 GB, free: 81.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006936/1.97, allocations: 2.869 MB / 1.086 GB, free: 78.45 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006641/1.976, allocations: 4.674 MB / 1.091 GB, free: 73.77 MB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/1.976, allocations: 0 / 1.091 GB, free: 73.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4361/2.412, allocations: 179.4 MB / 1.266 GB, free: 122.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/15.98, allocations: 0 / 1.266 GB, free: 122.8 MB / 0.5919 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