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.001978/0.001978, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002585/0.002585, allocations: 217.3 kB / 22.99 MB, free: 4.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.42/1.42, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.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.2155/0.2155, allocations: 44.26 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 180] 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.002527/0.002527, allocations: 71.12 kB / 467.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1158, allocations: 61.04 MB / 0.5162 GB, free: 7.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008192/0.124, allocations: 6.099 MB / 0.5221 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004422/0.1284, allocations: 2.097 MB / 0.5242 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005092/0.1289, allocations: 23.94 kB / 0.5242 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003417/0.1323, allocations: 1.423 MB / 0.5256 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.1341, allocations: 0.6915 MB / 0.5262 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.1356, allocations: 0.6853 MB / 0.5269 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.137, allocations: 1.186 MB / 0.5281 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.1381, allocations: 0.7531 MB / 0.5288 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006107/0.1387, allocations: 498 kB / 0.5293 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006711/0.1394, allocations: 0.5443 MB / 0.5298 GB, free: 9.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.1395, allocations: 96 kB / 0.5299 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005778/0.1401, allocations: 279.8 kB / 0.5302 GB, free: 8.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.1403, allocations: 258.9 kB / 0.5304 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004499/0.1408, allocations: 469.7 kB / 0.5309 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.1424, allocations: 1.494 MB / 0.5323 GB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1424, allocations: 0 / 0.5323 GB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1424, allocations: 0 / 0.5323 GB, free: 6.508 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.1424, allocations: 4 kB / 0.5323 GB, free: 6.504 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.004098/0.1465, allocations: 1.652 MB / 0.5339 GB, free: 4.816 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.1466, allocations: 15.97 kB / 0.534 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002423/0.1468, allocations: 190 kB / 0.5341 GB, free: 4.605 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/0.1573, allocations: 1.428 MB / 0.5355 GB, free: 3.176 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.1585, allocations: 0.4953 MB / 0.536 GB, free: 2.656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.293e-05/0.1586, allocations: 90.48 kB / 0.5361 GB, free: 2.566 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.1588, allocations: 120 kB / 0.5362 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.1611, allocations: 1.372 MB / 0.5376 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/0.1611, allocations: 3.953 kB / 0.5376 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.1613, allocations: 52 kB / 0.5376 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/0.1613, allocations: 32 kB / 0.5376 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1964/0.3576, allocations: 1.412 MB / 0.539 GB, free: 27.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006873/0.3645, allocations: 3.555 MB / 0.5425 GB, free: 26.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.3662, allocations: 0.8235 MB / 0.5433 GB, free: 26.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005535/0.3667, allocations: 328.2 kB / 0.5436 GB, free: 26.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.525e-05/0.3668, allocations: 23.7 kB / 0.5436 GB, free: 26.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.3669, allocations: 49.41 kB / 0.5437 GB, free: 26.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.296e-06/0.3669, allocations: 6.594 kB / 0.5437 GB, free: 26.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=91): time 0.002181/0.369, allocations: 1.049 MB / 0.5447 GB, free: 26.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.3691, allocations: 62.3 kB / 0.5448 GB, free: 25.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.3701, allocations: 0.8149 MB / 0.5456 GB, free: 25.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.3702, allocations: 45.2 kB / 0.5456 GB, free: 25.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.3704, allocations: 491.6 kB / 0.5461 GB, free: 25.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.3706, allocations: 331.2 kB / 0.5464 GB, free: 25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003196/0.371, allocations: 198.6 kB / 0.5466 GB, free: 24.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3711, allocations: 402.7 kB / 0.547 GB, free: 24.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006451/0.3717, allocations: 339 kB / 0.5473 GB, free: 24.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007083/0.3724, allocations: 0.6047 MB / 0.5479 GB, free: 23.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.3738, allocations: 0.9786 MB / 0.5488 GB, free: 23.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.3738, allocations: 3.125 kB / 0.5488 GB, free: 23.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002124/0.3759, allocations: 1.174 MB / 0.55 GB, free: 22.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.3759, allocations: 11.81 kB / 0.55 GB, free: 22.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.3759, allocations: 7.906 kB / 0.55 GB, free: 22.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003017/0.3762, allocations: 67.92 kB / 0.5501 GB, free: 22.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009986/0.3772, allocations: 261.8 kB / 0.5503 GB, free: 22.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.3787, allocations: 2.62 MB / 0.5529 GB, free: 20.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008362/0.3796, allocations: 159.8 kB / 0.553 GB, free: 20.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.355e-05/0.3796, allocations: 48.45 kB / 0.5531 GB, free: 20.03 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.000361/0.38, allocations: 249.5 kB / 0.5533 GB, free: 19.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.3801, allocations: 95.55 kB / 0.5534 GB, free: 19.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.3819, allocations: 1.107 MB / 0.5545 GB, free: 19.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.3819, allocations: 15.5 kB / 0.5545 GB, free: 19.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3819, allocations: 0.5156 kB / 0.5545 GB, free: 19.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.3819, allocations: 10.84 kB / 0.5545 GB, free: 19.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003186/0.3851, allocations: 2.144 MB / 0.5566 GB, free: 18.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.3851, allocations: 9.562 kB / 0.5566 GB, free: 18.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006991/0.3858, allocations: 179.8 kB / 0.5568 GB, free: 18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002045/0.386, allocations: 68.66 kB / 0.5568 GB, free: 17.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-05/0.3861, allocations: 29.25 kB / 0.5569 GB, free: 17.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.3874, allocations: 2.612 MB / 0.5594 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.3874, allocations: 10.75 kB / 0.5594 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.3895, allocations: 1.48 MB / 0.5609 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.3897, allocations: 125.1 kB / 0.561 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.3898, allocations: 28.53 kB / 0.561 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006534/0.3905, allocations: 55.12 kB / 0.5611 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.3906, allocations: 82.23 kB / 0.5612 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.823e-05/0.3907, allocations: 40.67 kB / 0.5612 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007027/0.3914, allocations: 0.5593 MB / 0.5617 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3914, allocations: 0 / 0.5617 GB, free: 14.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009775/0.3924, allocations: 299.8 kB / 0.562 GB, free: 14.01 MB / 414.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.002295/0.3947, allocations: 2.088 MB / 0.5641 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001835/0.3965, allocations: 1.049 MB / 0.5651 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.3965, allocations: 2.562 kB / 0.5651 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008031/0.3973, allocations: 0.5935 MB / 0.5657 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007942/0.3981, allocations: 125.7 kB / 0.5658 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.4087, allocations: 8.309 MB / 0.5739 GB, free: 6.746 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.4092, allocations: 407.5 kB / 0.5743 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006148/0.4098, allocations: 152.8 kB / 0.5744 GB, free: 6.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00046/0.4102, allocations: 364.7 kB / 0.5748 GB, free: 6.328 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4102, allocations: 0 / 0.5748 GB, free: 6.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05769/0.4679, allocations: 20.35 MB / 0.5947 GB, free: 7.629 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.18, allocations: 15.86 kB / 0.5947 GB, free: 7.613 MB / 430.1 MB " [Timeout remaining time 647] (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: 16.30607055919245]