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.001195/0.001195, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001018/0.001018, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9004/0.9004, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2575/0.2575, allocations: 34.25 MB / 294.9 MB, free: 0.7148 MB / 266.7 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 2.064e-06/2.064e-06, allocations: 0 / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.155e-05, allocations: 2.844 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.001704/0.001726, allocations: 1.222 MB / 443.4 MB, free: 444 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000595/0.002321, allocations: 403.9 kB / 443.8 MB, free: 36 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.282e-05/0.002334, allocations: 3.938 kB / 443.8 MB, free: 32 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.845e-05/0.002352, allocations: 3.984 kB / 443.8 MB, free: 28 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.914e-05/0.002381, allocations: 0 / 443.8 MB, free: 28 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1627/0.165, allocations: 69.31 kB / 443.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.162e-05/0.1651, allocations: 2.938 kB / 443.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.1651, allocations: 2.875 kB / 443.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.047e-05/0.1652, allocations: 0 / 443.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.1654, allocations: 44.61 kB / 443.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.1654, allocations: 0 / 443.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.759e-05/0.1654, allocations: 5.25 kB / 443.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.687e-06/0.1655, allocations: 2.906 kB / 443.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.546e-05/0.1655, allocations: 0.9375 kB / 443.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.94e-05/0.1656, allocations: 18.42 kB / 443.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1656, allocations: 0 / 443.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1656, allocations: 0.7188 kB / 443.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1656, allocations: 0 / 443.9 MB, free: 43.24 MB / 410.7 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.0001961/0.1658, allocations: 241.5 kB / 444.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1658, allocations: 8.719 kB / 444.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.145e-05/0.1658, allocations: 30.75 kB / 444.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.1659, allocations: 7.078 kB / 444.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.3e-05/0.166, allocations: 105.5 kB / 444.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.166, allocations: 0.9375 kB / 444.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.166, allocations: 0.9375 kB / 444.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.237e-05/0.1661, allocations: 61.16 kB / 444.4 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1661, allocations: 1.781 kB / 444.4 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1661, allocations: 1.875 kB / 444.4 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1661, allocations: 4.125 kB / 444.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.739e-05/0.1661, allocations: 5.047 kB / 444.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.1663, allocations: 353.1 kB / 444.7 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.537e-05/0.1664, allocations: 174 kB / 444.9 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.256e-05/0.1664, allocations: 80.14 kB / 445 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.1664, allocations: 75.28 kB / 445.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.1664, allocations: 112.7 kB / 445.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1664, allocations: 0 / 445.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 4.719e-05/0.1665, allocations: 32.25 kB / 445.2 MB, free: 41.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.1665, allocations: 131.5 kB / 445.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.925e-05/0.1665, allocations: 95.66 kB / 445.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-06/0.1665, allocations: 26.36 kB / 445.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.968e-05/0.1666, allocations: 84.27 kB / 445.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-06/0.1666, allocations: 0 / 445.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.1666, allocations: 12.66 kB / 445.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.632e-05/0.1666, allocations: 314.1 kB / 445.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.944e-06/0.1666, allocations: 0.5 kB / 445.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/0.1666, allocations: 9.5 kB / 445.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.83e-05/0.1666, allocations: 4.859 kB / 445.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1666, allocations: 0 / 445.9 MB, free: 41.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.686e-05/0.1667, allocations: 42.62 kB / 445.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1667, allocations: 5.625 kB / 445.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1667, allocations: 7.281 kB / 445.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1668, allocations: 0 / 445.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.106e-05/0.1668, allocations: 2.844 kB / 445.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1668, allocations: 0 / 445.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.714e-06/0.1668, allocations: 0 / 445.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.1668, allocations: 0.75 kB / 445.9 MB, free: 41.18 MB / 410.7 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 3.509e-05/0.1668, allocations: 184.9 kB / 446.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.1669, allocations: 112 kB / 446.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.943e-05/0.1669, allocations: 109.9 kB / 446.3 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.1669, allocations: 180.9 kB / 446.5 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.1669, allocations: 183.8 kB / 446.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.1669, allocations: 183.7 kB / 446.9 MB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.219e-05/0.167, allocations: 372 kB / 447.2 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.167, allocations: 104.5 kB / 447.3 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.606e-06/0.167, allocations: 107.9 kB / 447.4 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.167, allocations: 184.4 kB / 447.6 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.1671, allocations: 179.1 kB / 447.8 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/0.1671, allocations: 180 kB / 448 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.409e-05/0.1671, allocations: 184.7 kB / 448.1 MB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.139e-05/0.1671, allocations: 303.8 kB / 448.4 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.654e-05/0.1671, allocations: 113.5 kB / 448.5 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1672, allocations: 187.4 kB / 448.7 MB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.759e-05/0.1672, allocations: 101.8 kB / 448.8 MB, free: 38.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.1672, allocations: 182 kB / 449 MB, free: 38.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.1672, allocations: 105.5 kB / 449.1 MB, free: 37.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.392e-05/0.1672, allocations: 82.98 kB / 449.2 MB, free: 37.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1672, allocations: 0 / 449.2 MB, free: 37.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001295/0.1674, allocations: 0.625 kB / 449.2 MB, free: 37.82 MB / 410.7 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.0001368/0.1675, allocations: 0.8058 MB / 450 MB, free: 37.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.507e-05/0.1675, allocations: 11.66 kB / 450 MB, free: 37.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.1675, allocations: 0 / 450 MB, free: 37.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.31e-07/0.1675, allocations: 0 / 450 MB, free: 37.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.1677, allocations: 457.1 kB / 450.5 MB, free: 36.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.168, allocations: 177.9 kB / 450.6 MB, free: 36.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.744e-05/0.168, allocations: 57.25 kB / 450.7 MB, free: 36.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.844e-05/0.168, allocations: 0 / 450.7 MB, free: 36.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.876e-05/0.168, allocations: 10.28 kB / 450.7 MB, free: 36.29 MB / 410.7 MB Notification: Performance of SimCode: time 6.72e-07/0.168, allocations: 0 / 450.7 MB, free: 36.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.183, allocations: 1.542 MB / 452.2 MB, free: 35.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.133/7.316, allocations: 10.88 kB / 452.3 MB, free: 35.46 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestLinearPower/TestLinearPower.csv","/var/lib/jenkins/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: 9.403504884801805]