Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",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.001485/0.001485, allocations: 109.8 kB / 16.41 MB, free: 6.5 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.001308/0.001308, allocations: 191.4 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2117/0.2117, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 74.7 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1045, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02177/0.1263, allocations: 19.9 MB / 0.5068 GB, free: 8.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.1377, allocations: 4.943 MB / 0.5117 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003339/0.1411, allocations: 131.6 kB / 0.5118 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0171/0.1582, allocations: 7.787 MB / 0.5194 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007537/0.1658, allocations: 2.293 MB / 0.5216 GB, free: 9.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.1695, allocations: 1.263 MB / 0.5229 GB, free: 7.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2293/0.3988, allocations: 12.36 MB / 0.5349 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03459/0.4334, allocations: 26.24 MB / 0.5606 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0105/0.444, allocations: 6.597 MB / 0.567 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01463/0.4586, allocations: 7.32 MB / 0.5741 GB, free: 6.156 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004911/0.4636, allocations: 1.734 MB / 0.5758 GB, free: 4.422 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007554/0.4712, allocations: 1.933 MB / 0.5777 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008241/0.4794, allocations: 3.907 MB / 0.5815 GB, free: 0 / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01334/0.4928, allocations: 7.155 MB / 0.5885 GB, free: 9.445 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02796/0.5208, allocations: 23.74 MB / 0.6117 GB, free: 3.938 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5208, allocations: 0 / 0.6117 GB, free: 3.938 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.5209, allocations: 3.984 kB / 0.6117 GB, free: 3.934 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005407/0.5214, allocations: 0 / 0.6117 GB, free: 3.934 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: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.04066/0.5621, allocations: 15.07 MB / 0.6264 GB, free: 4.875 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.5621, allocations: 11.89 kB / 0.6264 GB, free: 4.863 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005388/0.5675, allocations: 1.752 MB / 0.6281 GB, free: 3.113 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06618/0.6337, allocations: 12.49 MB / 0.6403 GB, free: 6.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01388/0.6476, allocations: 6.625 MB / 0.6468 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001067/0.6487, allocations: 0.9056 MB / 0.6477 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004308/0.6531, allocations: 1.188 MB / 0.6489 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04574/0.6988, allocations: 19.05 MB / 0.6675 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005645/0.6994, allocations: 19.91 kB / 0.6675 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003767/0.7032, allocations: 0.4965 MB / 0.668 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008236/0.704, allocations: 0.6817 MB / 0.6686 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04174/0.7458, allocations: 19.84 MB / 0.688 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.114/0.8599, allocations: 61.72 MB / 0.7483 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3984/1.258, allocations: 20.17 MB / 0.768 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007209/1.266, allocations: 4.627 MB / 0.7725 GB, free: 169.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005707/1.266, allocations: 244.5 kB / 0.7727 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.448e-05/1.266, allocations: 111.2 kB / 0.7728 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=674): time 8.817e-06/1.266, allocations: 1.125 kB / 0.7728 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=674): time 0.0192/1.285, allocations: 12.58 MB / 0.7851 GB, free: 166.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/1.286, allocations: 121 kB / 0.7852 GB, free: 166 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01149/1.297, allocations: 8.728 MB / 0.7938 GB, free: 163.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001/1.298, allocations: 134.4 kB / 0.7939 GB, free: 163.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002394/1.301, allocations: 4.733 MB / 0.7985 GB, free: 160.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001811/1.302, allocations: 2.369 MB / 0.8008 GB, free: 158.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00201/1.304, allocations: 1.518 MB / 0.8023 GB, free: 158.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.736e-05/1.304, allocations: 302 kB / 0.8026 GB, free: 157.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0051/1.31, allocations: 4.197 MB / 0.8067 GB, free: 156.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00585/1.315, allocations: 7.233 MB / 0.8138 GB, free: 151.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/1.327, allocations: 12.4 MB / 0.8259 GB, free: 143.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-05/1.327, allocations: 29.19 kB / 0.8259 GB, free: 143.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01666/1.344, allocations: 12.44 MB / 0.838 GB, free: 137.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.959e-05/1.344, allocations: 46.66 kB / 0.8381 GB, free: 137.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/1.344, allocations: 103.8 kB / 0.8382 GB, free: 137.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008212/1.345, allocations: 421.8 kB / 0.8386 GB, free: 137 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006535/1.351, allocations: 2.101 MB / 0.8406 GB, free: 135.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00493/1.356, allocations: 9.613 MB / 0.85 GB, free: 125.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006589/1.363, allocations: 1.435 MB / 0.8514 GB, free: 124.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001307/1.364, allocations: 396 kB / 0.8518 GB, free: 123.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1022): * Single equations (assignments): 1016 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006467/1.371, allocations: 4.663 MB / 0.8564 GB, free: 119.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001255/1.372, allocations: 0.749 MB / 0.8571 GB, free: 118.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/1.386, allocations: 11.05 MB / 0.8679 GB, free: 107.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-05/1.386, allocations: 68 kB / 0.8679 GB, free: 107.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/1.386, allocations: 4 kB / 0.8679 GB, free: 107.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.645e-05/1.386, allocations: 31.88 kB / 0.868 GB, free: 107.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3436/1.729, allocations: 159.1 MB / 1.023 GB, free: 173.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001211/1.729, allocations: 86.16 kB / 1.023 GB, free: 173.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00513/1.735, allocations: 1.57 MB / 1.025 GB, free: 173.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007201/1.735, allocations: 388 kB / 1.025 GB, free: 173.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005411/1.736, allocations: 252.3 kB / 1.026 GB, free: 173.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004518/1.74, allocations: 9.464 MB / 1.035 GB, free: 164.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.208e-05/1.74, allocations: 136.5 kB / 1.035 GB, free: 164.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01799/1.758, allocations: 18.89 MB / 1.053 GB, free: 153.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004026/1.763, allocations: 2.076 MB / 1.055 GB, free: 152.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001609/1.764, allocations: 249 kB / 1.056 GB, free: 152.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004925/1.769, allocations: 0.5622 MB / 1.056 GB, free: 152.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008621/1.77, allocations: 0.7469 MB / 1.057 GB, free: 152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004479/1.77, allocations: 313.7 kB / 1.057 GB, free: 151.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.007613/1.778, allocations: 6.12 MB / 1.063 GB, free: 148.4 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/1.778, allocations: 0 / 1.063 GB, free: 148.4 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.008183/1.786, allocations: 2.704 MB / 1.066 GB, free: 145.9 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (741): * Single equations (assignments): 735 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01876/1.805, allocations: 19.79 MB / 1.085 GB, free: 125.9 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01352/1.819, allocations: 10.85 MB / 1.096 GB, free: 114.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.057e-05/1.819, allocations: 12 kB / 1.096 GB, free: 114.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00669/1.825, allocations: 5.517 MB / 1.101 GB, free: 109.4 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009114/1.835, allocations: 1.51 MB / 1.103 GB, free: 107.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1246/1.959, allocations: 101.6 MB / 1.202 GB, free: 15.43 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01163/1.971, allocations: 7.884 MB / 1.21 GB, free: 7.5 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.009455/1.98, allocations: 3.645 MB / 1.213 GB, free: 3.844 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008449/1.989, allocations: 4.233 MB / 1.217 GB, free: 15.61 MB / 0.6388 GB Notification: Performance of SimCode: time 3.006e-06/1.989, allocations: 0 / 1.217 GB, free: 15.61 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4536/2.442, allocations: 192.1 MB / 1.405 GB, free: 78.47 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.23/28.67, allocations: 12.72 kB / 1.405 GB, free: 78.46 MB / 0.6388 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches