Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008669/0.0008669, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008722/0.0008722, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8589/0.8589, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 34.24 MB / 294.8 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 442.2 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.841e-05, allocations: 2.281 kB / 442.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.001507/0.001526, allocations: 1.219 MB / 443.4 MB, free: 364 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1707/0.1722, allocations: 406.4 kB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.575e-05/0.1722, allocations: 0 / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.1722, allocations: 0 / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.324e-05/0.1723, allocations: 0 / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.1727, allocations: 73.55 kB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.058e-05/0.1728, allocations: 6.219 kB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.429e-05/0.1728, allocations: 0.625 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.617e-05/0.1728, allocations: 2.875 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.173, allocations: 41 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.875e-06/0.173, allocations: 0 / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.5e-05/0.173, allocations: 6.875 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-06/0.1731, allocations: 0 / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.156e-05/0.1731, allocations: 0 / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.504e-05/0.1731, allocations: 16.97 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1731, allocations: 3 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1731, allocations: 0.7188 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1731, allocations: 0 / 443.9 MB, free: 43.23 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.0001347/0.1733, allocations: 234.7 kB / 444.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1733, allocations: 10.25 kB / 444.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.734e-05/0.1733, allocations: 34.47 kB / 444.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.426e-05/0.1734, allocations: 7.062 kB / 444.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.323e-05/0.1734, allocations: 106.5 kB / 444.3 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1734, allocations: 4.844 kB / 444.3 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-06/0.1734, allocations: 3.156 kB / 444.3 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.117e-05/0.1735, allocations: 55.95 kB / 444.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-06/0.1735, allocations: 2.906 kB / 444.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-06/0.1735, allocations: 384 / 444.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.1735, allocations: 5.062 kB / 444.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.042e-05/0.1735, allocations: 7.719 kB / 444.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.1736, allocations: 352.1 kB / 444.7 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.217e-05/0.1737, allocations: 169.8 kB / 444.9 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.827e-06/0.1737, allocations: 83.61 kB / 445 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.1737, allocations: 76.09 kB / 445 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.1737, allocations: 113.6 kB / 445.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.1737, allocations: 2.125 kB / 445.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 3.866e-05/0.1737, allocations: 28.97 kB / 445.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.1738, allocations: 132.7 kB / 445.3 MB, free: 41.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.489e-05/0.1738, allocations: 94.41 kB / 445.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-06/0.1738, allocations: 25.7 kB / 445.4 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.529e-05/0.1738, allocations: 87.86 kB / 445.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.1738, allocations: 0 / 445.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/0.1738, allocations: 12.97 kB / 445.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.143e-05/0.1738, allocations: 311.5 kB / 445.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.5e-06/0.1739, allocations: 0 / 445.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.967e-06/0.1739, allocations: 2.844 kB / 445.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.26e-05/0.1739, allocations: 7.797 kB / 445.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1739, allocations: 0 / 445.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.043e-05/0.1739, allocations: 46.36 kB / 445.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.1739, allocations: 9.5 kB / 445.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1739, allocations: 0 / 445.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.405e-06/0.174, allocations: 0 / 445.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.116e-05/0.174, allocations: 0 / 445.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.174, allocations: 4.812 kB / 445.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-06/0.174, allocations: 0.625 kB / 445.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.174, allocations: 0 / 445.9 MB, free: 41.17 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.008e-05/0.174, allocations: 186.8 kB / 446.1 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.174, allocations: 112.1 kB / 446.2 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.475e-05/0.1741, allocations: 111.8 kB / 446.3 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.1741, allocations: 181.7 kB / 446.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.1741, allocations: 183.5 kB / 446.7 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.1741, allocations: 183 kB / 446.8 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.786e-05/0.1742, allocations: 372.9 kB / 447.2 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.1742, allocations: 104.7 kB / 447.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.775e-06/0.1742, allocations: 107.7 kB / 447.4 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/0.1742, allocations: 185.2 kB / 447.6 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1742, allocations: 179 kB / 447.8 MB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.25e-05/0.1742, allocations: 185 kB / 448 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/0.1742, allocations: 182.8 kB / 448.1 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.329e-05/0.1743, allocations: 301.6 kB / 448.4 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.1743, allocations: 112.7 kB / 448.5 MB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.1743, allocations: 187.5 kB / 448.7 MB, free: 38.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.668e-05/0.1743, allocations: 102.7 kB / 448.8 MB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.1743, allocations: 183.8 kB / 449 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1743, allocations: 101.3 kB / 449.1 MB, free: 37.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.06e-05/0.1743, allocations: 79.5 kB / 449.2 MB, free: 37.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1743, allocations: 0 / 449.2 MB, free: 37.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001274/0.1745, allocations: 0 / 449.2 MB, free: 37.78 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.0001105/0.1746, allocations: 0.8037 MB / 450 MB, free: 36.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.02e-05/0.1746, allocations: 10.66 kB / 450 MB, free: 36.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.1746, allocations: 2.469 kB / 450 MB, free: 36.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.1746, allocations: 4.031 kB / 450 MB, free: 36.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.1748, allocations: 456.3 kB / 450.4 MB, free: 36.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.175, allocations: 176.1 kB / 450.6 MB, free: 36.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.236e-05/0.175, allocations: 54.78 kB / 450.7 MB, free: 36.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.609e-05/0.175, allocations: 0 / 450.7 MB, free: 36.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.1751, allocations: 11.56 kB / 450.7 MB, free: 36.25 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1751, allocations: 3.938 kB / 450.7 MB, free: 36.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.1927, allocations: 1.52 MB / 452.2 MB, free: 35.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.105/7.298, allocations: 16.33 kB / 452.2 MB, free: 35.41 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.246245989575982]