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.001299/0.001299, allocations: 109 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.001385/0.001385, allocations: 189.5 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.291/1.291, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.1956/0.1956, allocations: 43.52 MB / 314.1 MB, free: 460 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.001424/0.001424, allocations: 63.91 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.09912, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02102/0.1202, allocations: 19.9 MB / 0.5068 GB, free: 8.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.1305, allocations: 4.931 MB / 0.5116 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004055/0.1345, allocations: 139.5 kB / 0.5118 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01658/0.1512, allocations: 7.822 MB / 0.5194 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00709/0.1583, allocations: 2.297 MB / 0.5217 GB, free: 9.047 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003503/0.1618, allocations: 1.274 MB / 0.5229 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2217/0.3835, allocations: 12.36 MB / 0.535 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03603/0.4196, allocations: 26.23 MB / 0.5606 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009994/0.4297, allocations: 6.617 MB / 0.567 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01127/0.441, allocations: 7.332 MB / 0.5742 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004476/0.4455, allocations: 1.734 MB / 0.5759 GB, free: 4.387 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006458/0.4519, allocations: 1.922 MB / 0.5778 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007788/0.4597, allocations: 3.918 MB / 0.5816 GB, free: 0 / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01143/0.4712, allocations: 7.121 MB / 0.5886 GB, free: 9.301 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02245/0.4937, allocations: 23.73 MB / 0.6117 GB, free: 3.863 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4937, allocations: 7.984 kB / 0.6117 GB, free: 3.855 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4937, allocations: 0 / 0.6117 GB, free: 3.855 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005498/0.4943, allocations: 0 / 0.6117 GB, free: 3.855 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.03863/0.5329, allocations: 15.06 MB / 0.6264 GB, free: 4.805 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.533, allocations: 15.89 kB / 0.6265 GB, free: 4.789 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003818/0.5368, allocations: 1.76 MB / 0.6282 GB, free: 3.031 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06465/0.6015, allocations: 12.48 MB / 0.6404 GB, free: 6.676 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/0.6169, allocations: 6.63 MB / 0.6468 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000787/0.6177, allocations: 0.9002 MB / 0.6477 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003911/0.6216, allocations: 1.196 MB / 0.6489 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03862/0.6602, allocations: 19.04 MB / 0.6675 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003016/0.6606, allocations: 23.66 kB / 0.6675 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001917/0.6625, allocations: 0.4958 MB / 0.668 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005924/0.6631, allocations: 0.6856 MB / 0.6687 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03505/0.6982, allocations: 19.83 MB / 0.688 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09736/0.7956, allocations: 61.73 MB / 0.7483 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3755/1.171, allocations: 20.17 MB / 0.768 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006627/1.178, allocations: 4.634 MB / 0.7725 GB, free: 169.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004042/1.178, allocations: 241.5 kB / 0.7728 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.931e-05/1.178, allocations: 108.2 kB / 0.7729 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=674): time 9.217e-06/1.178, allocations: 0 / 0.7729 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=674): time 0.01814/1.196, allocations: 12.58 MB / 0.7852 GB, free: 166 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.07e-05/1.197, allocations: 119.9 kB / 0.7853 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/1.207, allocations: 8.727 MB / 0.7938 GB, free: 163.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007498/1.208, allocations: 133.2 kB / 0.7939 GB, free: 163 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002171/1.21, allocations: 4.733 MB / 0.7985 GB, free: 160.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001536/1.212, allocations: 2.368 MB / 0.8009 GB, free: 158.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001861/1.213, allocations: 1.515 MB / 0.8023 GB, free: 158 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.367e-05/1.213, allocations: 307.9 kB / 0.8026 GB, free: 157.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004886/1.218, allocations: 4.193 MB / 0.8067 GB, free: 156.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00564/1.224, allocations: 7.237 MB / 0.8138 GB, free: 151.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/1.235, allocations: 12.4 MB / 0.8259 GB, free: 143.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.293e-05/1.235, allocations: 27.38 kB / 0.8259 GB, free: 143.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01496/1.25, allocations: 12.43 MB / 0.8381 GB, free: 137.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/1.25, allocations: 52.16 kB / 0.8381 GB, free: 137.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/1.25, allocations: 100 kB / 0.8382 GB, free: 137.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008033/1.251, allocations: 424.5 kB / 0.8386 GB, free: 136.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006343/1.257, allocations: 2.098 MB / 0.8407 GB, free: 135.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004771/1.262, allocations: 9.616 MB / 0.8501 GB, free: 125.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006269/1.268, allocations: 1.431 MB / 0.8515 GB, free: 124.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000831/1.269, allocations: 398.2 kB / 0.8518 GB, free: 123.8 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.005476/1.275, allocations: 4.664 MB / 0.8564 GB, free: 119.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009915/1.276, allocations: 0.749 MB / 0.8571 GB, free: 118.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/1.288, allocations: 11.05 MB / 0.8679 GB, free: 107.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/1.288, allocations: 72 kB / 0.868 GB, free: 107.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/1.288, allocations: 0 / 0.868 GB, free: 107.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-05/1.288, allocations: 35.86 kB / 0.868 GB, free: 107.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3512/1.64, allocations: 159.1 MB / 1.023 GB, free: 173.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002414/1.64, allocations: 87.31 kB / 1.023 GB, free: 173.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00536/1.645, allocations: 1.572 MB / 1.025 GB, free: 173.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007687/1.646, allocations: 392.4 kB / 1.025 GB, free: 173.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007691/1.647, allocations: 254.8 kB / 1.026 GB, free: 173.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004712/1.652, allocations: 9.466 MB / 1.035 GB, free: 164.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.796e-05/1.652, allocations: 139.5 kB / 1.035 GB, free: 164.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/1.67, allocations: 18.89 MB / 1.053 GB, free: 153.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004514/1.674, allocations: 2.074 MB / 1.055 GB, free: 152.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001294/1.675, allocations: 253 kB / 1.056 GB, free: 152.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004538/1.68, allocations: 0.5566 MB / 1.056 GB, free: 152.3 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007922/1.681, allocations: 0.7442 MB / 1.057 GB, free: 152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003948/1.681, allocations: 317 kB / 1.057 GB, free: 151.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.007393/1.689, allocations: 6.124 MB / 1.063 GB, free: 148.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/1.689, allocations: 0 / 1.063 GB, free: 148.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009342/1.698, allocations: 2.7 MB / 1.066 GB, free: 145.7 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.01805/1.716, allocations: 19.79 MB / 1.085 GB, free: 125.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01386/1.73, 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.354e-05/1.73, allocations: 12 kB / 1.096 GB, free: 114.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.006797/1.737, allocations: 5.518 MB / 1.101 GB, free: 109.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009175/1.746, allocations: 1.509 MB / 1.103 GB, free: 107.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1157/1.862, allocations: 101.6 MB / 1.202 GB, free: 15.33 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008251/1.87, allocations: 7.879 MB / 1.21 GB, free: 7.414 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.008448/1.879, allocations: 3.646 MB / 1.213 GB, free: 3.758 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006355/1.885, allocations: 4.233 MB / 1.217 GB, free: 15.52 MB / 0.6388 GB Notification: Performance of SimCode: time 2.014e-06/1.885, allocations: 4 kB / 1.217 GB, free: 15.52 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4235/2.308, allocations: 192.1 MB / 1.405 GB, free: 78.26 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.72/28.03, allocations: 12.66 kB / 1.405 GB, free: 78.25 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