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.0008152/0.0008152, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.000889/0.000889, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8608/0.8608, 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.245/0.245, allocations: 34.24 MB / 294.9 MB, free: 0.7305 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 1.483e-06/1.483e-06, allocations: 0 / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.874e-05, allocations: 6.281 kB / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.00157/0.001589, allocations: 1.207 MB / 443.4 MB, free: 452 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005534/0.002142, allocations: 404 kB / 443.8 MB, free: 44 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.168e-05/0.002154, allocations: 7.938 kB / 443.8 MB, free: 36 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.002171, allocations: 7.922 kB / 443.8 MB, free: 28 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.737e-05/0.002198, allocations: 0 / 443.8 MB, free: 28 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1608/0.163, allocations: 62.55 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.593e-05/0.163, allocations: 6.781 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.1631, allocations: 1.25 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.899e-05/0.1631, allocations: 2.875 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.1633, allocations: 44.28 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.717e-06/0.1633, allocations: 2.719 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.989e-05/0.1634, allocations: 5 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.875e-06/0.1634, allocations: 1.484 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.439e-05/0.1634, allocations: 3.062 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.055e-05/0.1635, allocations: 14.36 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1635, allocations: 2.906 kB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1635, allocations: 0 / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.1635, allocations: 2.125 kB / 443.9 MB, free: 43.25 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.0001667/0.1636, allocations: 235.4 kB / 444.2 MB, free: 42.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1637, allocations: 8.875 kB / 444.2 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.04e-05/0.1637, allocations: 33.98 kB / 444.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.1638, allocations: 3.875 kB / 444.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.64e-05/0.1639, allocations: 102.8 kB / 444.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1639, allocations: 5.062 kB / 444.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-06/0.1639, allocations: 384 / 444.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.876e-05/0.164, allocations: 59.47 kB / 444.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.164, allocations: 192 / 444.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.164, allocations: 2.438 kB / 444.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.164, allocations: 4.125 kB / 444.4 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.416e-05/0.164, allocations: 5.781 kB / 444.4 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.1642, allocations: 352.2 kB / 444.7 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.088e-05/0.1642, allocations: 168.2 kB / 444.9 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.032e-05/0.1642, allocations: 83.89 kB / 445 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.1642, allocations: 75.28 kB / 445.1 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.1642, allocations: 114.2 kB / 445.2 MB, free: 41.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 5.81e-07/0.1642, allocations: 0.5 kB / 445.2 MB, free: 41.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 3.962e-05/0.1643, allocations: 32.53 kB / 445.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.79e-05/0.1643, allocations: 127.3 kB / 445.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.081e-05/0.1643, allocations: 98.56 kB / 445.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-06/0.1643, allocations: 25.7 kB / 445.4 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.627e-05/0.1643, allocations: 81.73 kB / 445.5 MB, free: 41.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.1643, allocations: 3.469 kB / 445.5 MB, free: 41.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.1644, allocations: 10.47 kB / 445.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.3e-05/0.1644, allocations: 317.7 kB / 445.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.54e-06/0.1644, allocations: 0 / 445.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-06/0.1644, allocations: 3.281 kB / 445.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.442e-05/0.1644, allocations: 11.77 kB / 445.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1644, allocations: 3.375 kB / 445.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.976e-05/0.1645, allocations: 45.02 kB / 445.9 MB, free: 41.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.1645, allocations: 5.906 kB / 445.9 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.1645, allocations: 3.203 kB / 445.9 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.1645, allocations: 0 / 445.9 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.161e-05/0.1645, allocations: 3.188 kB / 445.9 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1645, allocations: 4 kB / 445.9 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.592e-06/0.1645, allocations: 0 / 445.9 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.1645, allocations: 0 / 445.9 MB, free: 41.19 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 2.836e-05/0.1646, allocations: 185.3 kB / 446.1 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.1646, allocations: 111.6 kB / 446.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.436e-05/0.1646, allocations: 113.6 kB / 446.3 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.1646, allocations: 177 kB / 446.5 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.1646, allocations: 179.6 kB / 446.7 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.1646, allocations: 183.4 kB / 446.9 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.563e-05/0.1647, allocations: 371.5 kB / 447.2 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.1647, allocations: 109.4 kB / 447.3 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-06/0.1647, allocations: 107.8 kB / 447.4 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.1647, allocations: 183.5 kB / 447.6 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1647, allocations: 179.5 kB / 447.8 MB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/0.1648, allocations: 180 kB / 448 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/0.1648, allocations: 184.6 kB / 448.1 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.461e-05/0.1648, allocations: 301.2 kB / 448.4 MB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.1648, allocations: 113.2 kB / 448.5 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.1648, allocations: 183.8 kB / 448.7 MB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.685e-05/0.1649, allocations: 101.5 kB / 448.8 MB, free: 38.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.1649, allocations: 186.2 kB / 449 MB, free: 38.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1649, allocations: 105.5 kB / 449.1 MB, free: 37.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.239e-05/0.1649, allocations: 81.83 kB / 449.2 MB, free: 37.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1649, allocations: 1.859 kB / 449.2 MB, free: 37.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001279/0.165, allocations: 0 / 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.0001099/0.1651, allocations: 0.8103 MB / 450 MB, free: 37.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.125e-05/0.1652, allocations: 3.406 kB / 450 MB, free: 37.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.1652, allocations: 0 / 450 MB, free: 37.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.1652, allocations: 0 / 450 MB, free: 37.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.1653, allocations: 463.5 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.0002048/0.1655, allocations: 175.5 kB / 450.6 MB, free: 36.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.785e-05/0.1656, allocations: 57.31 kB / 450.7 MB, free: 36.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.569e-05/0.1656, allocations: 3.938 kB / 450.7 MB, free: 36.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.478e-05/0.1656, allocations: 10.28 kB / 450.7 MB, free: 36.29 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1656, allocations: 0 / 450.7 MB, free: 36.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01267/0.1783, allocations: 1.539 MB / 452.2 MB, free: 35.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.82/6.998, allocations: 9.594 kB / 452.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.877805264666677]