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.001618/0.001618, allocations: 100.6 kB / 16.27 MB, free: 6.391 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.001341/0.001341, allocations: 186.9 kB / 17.2 MB, free: 5.941 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.359/1.359, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.2068/0.2068, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 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.001461/0.001461, allocations: 67.81 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08204/0.08351, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.01844/0.102, allocations: 19.9 MB / 460.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.1122, allocations: 4.931 MB / 465.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003076/0.1154, allocations: 135.6 kB / 465.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01682/0.1322, allocations: 7.779 MB / 473.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007197/0.1394, allocations: 2.292 MB / 475.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003854/0.1433, allocations: 1.271 MB / 476.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01424/0.1576, allocations: 12.27 MB / 489.2 MB, free: 6.051 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0362/0.1938, allocations: 26.22 MB / 0.5033 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008696/0.2025, allocations: 6.581 MB / 0.5098 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01015/0.2127, allocations: 7.342 MB / 0.5169 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004369/0.2171, allocations: 1.734 MB / 0.5186 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00561/0.2227, allocations: 1.926 MB / 0.5205 GB, free: 10 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005613/0.2284, allocations: 3.717 MB / 0.5241 GB, free: 6.277 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1973/0.4257, allocations: 7.114 MB / 0.5311 GB, free: 41.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02096/0.4467, allocations: 23.52 MB / 0.5541 GB, free: 37.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4467, allocations: 8.969 kB / 0.5541 GB, free: 37.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4467, allocations: 0 / 0.5541 GB, free: 37.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006363/0.4474, allocations: 0 / 0.5541 GB, free: 37.66 MB / 414.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.04101/0.4884, allocations: 14.8 MB / 0.5685 GB, free: 30.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.4885, allocations: 14.33 kB / 0.5685 GB, free: 30.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004859/0.4933, allocations: 1.758 MB / 0.5702 GB, free: 29.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06202/0.5554, allocations: 12.42 MB / 0.5824 GB, free: 23.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01317/0.5686, allocations: 6.57 MB / 0.5888 GB, free: 19.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005346/0.5691, allocations: 0.9078 MB / 0.5897 GB, free: 18.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004447/0.5736, allocations: 1.188 MB / 0.5908 GB, free: 17.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04147/0.6151, allocations: 19.06 MB / 0.6094 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003481/0.6154, allocations: 15.89 kB / 0.6095 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003994/0.6194, allocations: 0.4924 MB / 0.6099 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006558/0.6201, allocations: 0.6856 MB / 0.6106 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04011/0.6602, allocations: 19.83 MB / 0.63 GB, free: 9.176 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1077/0.768, allocations: 62.23 MB / 0.6907 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02214/0.7902, allocations: 20.19 MB / 0.7105 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00718/0.7974, allocations: 4.626 MB / 0.715 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004491/0.7979, allocations: 239.9 kB / 0.7152 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.722e-05/0.798, allocations: 107.8 kB / 0.7153 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=674): time 8.646e-06/0.798, allocations: 0 / 0.7153 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=674): time 0.01873/0.8167, allocations: 12.54 MB / 0.7276 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.753e-05/0.8168, allocations: 120.7 kB / 0.7277 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2142/1.031, allocations: 8.718 MB / 0.7362 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000935/1.032, allocations: 135.9 kB / 0.7363 GB, free: 182.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002776/1.035, allocations: 4.606 MB / 0.7408 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001715/1.037, allocations: 2.261 MB / 0.743 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002027/1.039, allocations: 1.509 MB / 0.7445 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.338e-05/1.039, allocations: 304.6 kB / 0.7448 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004993/1.044, allocations: 4.193 MB / 0.7489 GB, free: 179.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006008/1.05, allocations: 7.225 MB / 0.7559 GB, free: 174 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01251/1.062, allocations: 12.4 MB / 0.768 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.734e-05/1.062, allocations: 31.75 kB / 0.7681 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.01707/1.079, allocations: 12.4 MB / 0.7802 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/1.079, allocations: 49.25 kB / 0.7802 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001213/1.08, allocations: 100 kB / 0.7803 GB, free: 158 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008666/1.08, allocations: 424.1 kB / 0.7807 GB, free: 157.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006909/1.087, allocations: 2.096 MB / 0.7828 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005383/1.093, allocations: 9.607 MB / 0.7922 GB, free: 145.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007948/1.101, allocations: 1.397 MB / 0.7935 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001398/1.102, allocations: 399.5 kB / 0.7939 GB, free: 144.3 MB / 0.5294 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.007001/1.109, allocations: 4.669 MB / 0.7985 GB, free: 140.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001272/1.11, allocations: 0.7134 MB / 0.7992 GB, free: 139.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/1.125, allocations: 11.06 MB / 0.81 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.873e-05/1.125, allocations: 73.62 kB / 0.81 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/1.125, allocations: 0 / 0.81 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.077e-05/1.125, allocations: 35.86 kB / 0.8101 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3351/1.46, allocations: 159.2 MB / 0.9655 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.054e-05/1.46, allocations: 90.97 kB / 0.9656 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005042/1.465, allocations: 1.573 MB / 0.9671 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007724/1.466, allocations: 390.3 kB / 0.9675 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004354/1.466, allocations: 247.5 kB / 0.9677 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004709/1.471, allocations: 9.468 MB / 0.977 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.409e-05/1.471, allocations: 135.5 kB / 0.9771 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01828/1.49, allocations: 18.85 MB / 0.9955 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004177/1.494, allocations: 2.04 MB / 0.9975 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/1.495, allocations: 255.5 kB / 0.9978 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00464/1.5, allocations: 0.5558 MB / 0.9983 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008971/1.501, allocations: 0.7415 MB / 0.999 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004284/1.501, allocations: 319.9 kB / 0.9993 GB, free: 131 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007741/1.509, allocations: 6.12 MB / 1.005 GB, free: 126 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/1.509, allocations: 4 kB / 1.005 GB, free: 126 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00848/1.517, allocations: 2.671 MB / 1.008 GB, free: 123.3 MB / 0.5294 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.01728/1.535, allocations: 19.76 MB / 1.027 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02721/1.562, allocations: 17.44 MB / 1.044 GB, free: 84.19 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.65e-05/1.562, allocations: 12 kB / 1.044 GB, free: 84.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007053/1.569, allocations: 5.51 MB / 1.05 GB, free: 78.61 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0103/1.579, allocations: 1.512 MB / 1.051 GB, free: 77.13 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3368/1.916, allocations: 147.8 MB / 1.195 GB, free: 141.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007548/1.924, allocations: 7.883 MB / 1.203 GB, free: 138.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.008544/1.932, allocations: 3.647 MB / 1.207 GB, free: 138.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005824/1.938, allocations: 4.236 MB / 1.211 GB, free: 134.7 MB / 0.545 GB Notification: Performance of SimCode: time 8.01e-07/1.938, allocations: 0 / 1.211 GB, free: 134.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4136/2.352, allocations: 197.5 MB / 1.404 GB, free: 166 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/15.57, allocations: 0.7188 kB / 1.404 GB, free: 166 MB / 0.545 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