Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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.001346/0.001346, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001368/0.001368, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2292/0.2292, allocations: 46.91 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.91 kB / 0.4909 GB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1311, allocations: 65.99 MB / 0.5554 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002282/0.1334, allocations: 1.206 MB / 0.5565 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008059/0.1342, allocations: 435.4 kB / 0.557 GB, free: 4.227 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.673e-05/0.1343, allocations: 4 kB / 0.557 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.237e-05/0.1343, allocations: 0 / 0.557 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.597e-05/0.1343, allocations: 0 / 0.557 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.1348, allocations: 71.73 kB / 0.557 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.462e-05/0.1348, allocations: 0 / 0.557 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.1349, allocations: 3.938 kB / 0.557 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.422e-05/0.1349, allocations: 4 kB / 0.557 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.1351, allocations: 39.95 kB / 0.5571 GB, free: 4.105 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.282e-06/0.1351, allocations: 4 kB / 0.5571 GB, free: 4.102 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.608e-05/0.1352, allocations: 8 kB / 0.5571 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.354e-06/0.1352, allocations: 0 / 0.5571 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.378e-05/0.1352, allocations: 0 / 0.5571 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 7.449e-05/0.1353, allocations: 15.97 kB / 0.5571 GB, free: 4.078 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1353, allocations: 0 / 0.5571 GB, free: 4.078 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1353, allocations: 0 / 0.5571 GB, free: 4.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1353, allocations: 0 / 0.5571 GB, free: 4.078 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003094/0.1356, allocations: 319.5 kB / 0.5574 GB, free: 3.715 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1356, allocations: 8.031 kB / 0.5574 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.1357, allocations: 34.75 kB / 0.5574 GB, free: 3.664 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.1358, allocations: 4.938 kB / 0.5575 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.1359, allocations: 160.4 kB / 0.5576 GB, free: 3.465 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-06/0.1359, allocations: 384 / 0.5576 GB, free: 3.465 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.1359, allocations: 384 / 0.5576 GB, free: 3.465 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.6e-05/0.136, allocations: 42.19 kB / 0.5576 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.136, allocations: 3.938 kB / 0.5577 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.136, allocations: 3.984 kB / 0.5577 GB, free: 3.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.136, allocations: 3.938 kB / 0.5577 GB, free: 3.406 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.495e-05/0.136, allocations: 0 / 0.5577 GB, free: 3.406 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.1364, allocations: 383.5 kB / 0.558 GB, free: 2.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.573e-05/0.1365, allocations: 173 kB / 0.5582 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.1365, allocations: 84.17 kB / 0.5583 GB, free: 2.715 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.1365, allocations: 75.28 kB / 0.5583 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.1366, allocations: 109.8 kB / 0.5584 GB, free: 2.523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.1366, allocations: 0 / 0.5584 GB, free: 2.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 6.757e-05/0.1366, allocations: 29.66 kB / 0.5585 GB, free: 2.488 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.1367, allocations: 134.6 kB / 0.5586 GB, free: 2.344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.855e-05/0.1368, allocations: 93.86 kB / 0.5587 GB, free: 2.242 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1368, allocations: 25.7 kB / 0.5587 GB, free: 2.211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.1369, allocations: 84.27 kB / 0.5588 GB, free: 2.125 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.1369, allocations: 0 / 0.5588 GB, free: 2.125 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.1369, allocations: 17.7 kB / 0.5588 GB, free: 2.102 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.137, allocations: 314.8 kB / 0.5591 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-06/0.137, allocations: 0 / 0.5591 GB, free: 1.785 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-06/0.137, allocations: 4 kB / 0.5591 GB, free: 1.781 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.124e-05/0.1371, allocations: 8.859 kB / 0.5591 GB, free: 1.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.1371, allocations: 3.938 kB / 0.5591 GB, free: 1.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.529e-05/0.1371, allocations: 33.77 kB / 0.5592 GB, free: 1.727 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1372, allocations: 4 kB / 0.5592 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1372, allocations: 4 kB / 0.5592 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1372, allocations: 0 / 0.5592 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.912e-05/0.1372, allocations: 7.984 kB / 0.5592 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1372, allocations: 0 / 0.5592 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.018e-05/0.1372, allocations: 3.938 kB / 0.5592 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-06/0.1372, allocations: 0 / 0.5592 GB, free: 1.707 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.1373, allocations: 193.1 kB / 0.5594 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.368e-05/0.1374, allocations: 101 kB / 0.5595 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/0.1375, allocations: 115.9 kB / 0.5596 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.82e-05/0.1375, allocations: 180.2 kB / 0.5597 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-05/0.1376, allocations: 184.2 kB / 0.5599 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.549e-05/0.1377, allocations: 180.2 kB / 0.5601 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.1379, allocations: 405.2 kB / 0.5605 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.434e-05/0.138, allocations: 105 kB / 0.5606 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-05/0.138, allocations: 112.9 kB / 0.5607 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.033e-05/0.1381, allocations: 176.3 kB / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.768e-05/0.1382, allocations: 180.4 kB / 0.561 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.225e-05/0.1383, allocations: 180.3 kB / 0.5612 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.299e-05/0.1384, allocations: 184.3 kB / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.1385, allocations: 311.7 kB / 0.5617 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.43e-05/0.1386, allocations: 182 kB / 0.5618 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.043e-05/0.1387, allocations: 176.3 kB / 0.562 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.1388, allocations: 113 kB / 0.5621 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.697e-05/0.1388, allocations: 188.2 kB / 0.5623 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.1389, allocations: 101 kB / 0.5624 GB, free: 14.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.456e-05/0.1389, allocations: 75.28 kB / 0.5625 GB, free: 14.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1389, allocations: 0 / 0.5625 GB, free: 14.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.1391, allocations: 4 kB / 0.5625 GB, free: 14.11 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004204/0.1396, allocations: 0.8126 MB / 0.5633 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.673e-05/0.1396, allocations: 4 kB / 0.5633 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1396, allocations: 0 / 0.5633 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.1396, allocations: 0 / 0.5633 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.14, allocations: 459.7 kB / 0.5637 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/0.1404, allocations: 190.5 kB / 0.5639 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.1407, allocations: 0.669 MB / 0.5645 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.569e-05/0.1407, allocations: 0 / 0.5645 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.1407, allocations: 7.438 kB / 0.5646 GB, free: 11.88 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1407, allocations: 0 / 0.5646 GB, free: 11.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.1621, allocations: 0.9148 MB / 0.5654 GB, free: 11.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.816/7.978, allocations: 11.91 kB / 0.5655 GB, free: 11.07 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestLinearPower/TestLinearPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.955824524993659]