Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 113 kB / 17.12 MB, free: 5.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 213 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.874/1.874, allocations: 207.6 MB / 230.5 MB, free: 4.016 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4182/0.4182, allocations: 44.23 MB / 326.6 MB, free: 6.816 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0032/0.0032, allocations: 67.89 kB / 462.2 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4064, allocations: 61 MB / 0.5109 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008074/0.4144, allocations: 6.957 MB / 0.5177 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005913/0.4204, allocations: 2.206 MB / 0.5199 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.4217, allocations: 23.94 kB / 0.5199 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003479/0.4252, allocations: 1.53 MB / 0.5214 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003477/0.4286, allocations: 0.7078 MB / 0.5221 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.4301, allocations: 0.7203 MB / 0.5228 GB, free: 2.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.4315, allocations: 1.187 MB / 0.524 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008285/0.4323, allocations: 0.6198 MB / 0.5246 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004744/0.4328, allocations: 494.1 kB / 0.525 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004492/0.4332, allocations: 0.6145 MB / 0.5256 GB, free: 16 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.4334, allocations: 96.05 kB / 0.5257 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007952/0.4342, allocations: 287.7 kB / 0.526 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.4344, allocations: 251 kB / 0.5262 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005851/0.435, allocations: 0.5674 MB / 0.5268 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.4369, allocations: 1.49 MB / 0.5283 GB, free: 13.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.4369, allocations: 0 / 0.5283 GB, free: 13.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4369, allocations: 0 / 0.5283 GB, free: 13.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.4369, allocations: 0 / 0.5283 GB, free: 13.33 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.004274/0.4412, allocations: 1.731 MB / 0.5299 GB, free: 11.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4412, allocations: 11.89 kB / 0.53 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002248/0.4415, allocations: 186.1 kB / 0.5301 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/0.452, allocations: 1.425 MB / 0.5315 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.4536, allocations: 0.56 MB / 0.5321 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.382e-05/0.4537, allocations: 90.48 kB / 0.5322 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/0.454, allocations: 124 kB / 0.5323 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/0.4565, allocations: 1.189 MB / 0.5334 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.931e-05/0.4566, allocations: 3.953 kB / 0.5334 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.4567, allocations: 52 kB / 0.5335 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.4567, allocations: 28 kB / 0.5335 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/0.4594, allocations: 1.439 MB / 0.5349 GB, free: 6.359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008489/0.4678, allocations: 4.823 MB / 0.5396 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.4699, allocations: 1.14 MB / 0.5407 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006345/0.4705, allocations: 332.2 kB / 0.5411 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.4707, allocations: 110.1 kB / 0.5412 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.4707, allocations: 43.56 kB / 0.5412 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 1.963e-06/0.4707, allocations: 4 kB / 0.5412 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.00247/0.4732, allocations: 1.195 MB / 0.5424 GB, free: 14.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.4732, allocations: 68.39 kB / 0.5424 GB, free: 14.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.4744, allocations: 0.8013 MB / 0.5432 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.207e-05/0.4745, allocations: 41.7 kB / 0.5433 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/0.4749, allocations: 496.1 kB / 0.5437 GB, free: 12.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002964/0.4752, allocations: 325.2 kB / 0.5441 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003433/0.4756, allocations: 202.8 kB / 0.5442 GB, free: 12.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002289/0.4758, allocations: 394.7 kB / 0.5446 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/0.4765, allocations: 342.5 kB / 0.5449 GB, free: 11.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009169/0.4774, allocations: 0.614 MB / 0.5455 GB, free: 10.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.479, allocations: 0.9749 MB / 0.5465 GB, free: 9.766 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.479, allocations: 4 kB / 0.5465 GB, free: 9.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002235/0.4812, allocations: 1.174 MB / 0.5476 GB, free: 8.574 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.4813, allocations: 8 kB / 0.5477 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.4813, allocations: 8 kB / 0.5477 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003342/0.4816, allocations: 69.61 kB / 0.5477 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.4827, allocations: 263.8 kB / 0.548 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/0.4853, allocations: 2.82 MB / 0.5507 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009861/0.4863, allocations: 158.7 kB / 0.5509 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.363e-05/0.4863, allocations: 48 kB / 0.5509 GB, free: 4.922 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0004852/0.4868, allocations: 257.4 kB / 0.5512 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.487, allocations: 99.48 kB / 0.5513 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/0.489, allocations: 1.099 MB / 0.5523 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.4891, allocations: 8 kB / 0.5524 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4891, allocations: 3.938 kB / 0.5524 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.4891, allocations: 3.984 kB / 0.5524 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004323/0.4934, allocations: 2.745 MB / 0.555 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.4934, allocations: 4 kB / 0.555 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000735/0.4941, allocations: 179.7 kB / 0.5552 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002428/0.4944, allocations: 70.33 kB / 0.5553 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.379e-05/0.4944, allocations: 24 kB / 0.5553 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/0.4971, allocations: 2.809 MB / 0.5581 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.4971, allocations: 15.88 kB / 0.5581 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002469/0.4995, allocations: 1.478 MB / 0.5595 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.4999, allocations: 212.2 kB / 0.5597 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.5, allocations: 27.95 kB / 0.5597 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006618/0.5007, allocations: 51.97 kB / 0.5598 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.5009, allocations: 80.44 kB / 0.5599 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/0.5009, allocations: 35.94 kB / 0.5599 GB, free: 11.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008409/0.5018, allocations: 0.5654 MB / 0.5605 GB, free: 10.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5018, allocations: 0 / 0.5605 GB, free: 10.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001123/0.5029, allocations: 291.7 kB / 0.5607 GB, free: 10.21 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_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 (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.002988/0.5059, allocations: 2.096 MB / 0.5628 GB, free: 8.008 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002138/0.508, allocations: 1.051 MB / 0.5638 GB, free: 6.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.508, allocations: 8 kB / 0.5638 GB, free: 6.922 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009938/0.509, allocations: 0.5921 MB / 0.5644 GB, free: 6.309 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008788/0.5099, allocations: 122.8 kB / 0.5645 GB, free: 6.191 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.5239, allocations: 8.32 MB / 0.5726 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/0.5246, allocations: 0.9923 MB / 0.5736 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006106/0.5252, allocations: 151.6 kB / 0.5737 GB, free: 12.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005646/0.5258, allocations: 367.3 kB / 0.5741 GB, free: 11.83 MB / 446.1 MB Notification: Performance of SimCode: time 1.773e-06/0.5258, allocations: 0 / 0.5741 GB, free: 11.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06599/0.5918, allocations: 19.3 MB / 0.5929 GB, free: 8.508 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.1, allocations: 0.75 kB / 0.5929 GB, free: 8.508 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable v.re in file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv. Warning: Get data of variable v.re from file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv failed! Error: Could not read variable v.im in file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv. Warning: Get data of variable v.im from file ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.65949569400982]