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.000804/0.000804, allocations: 88.33 kB / 20.67 MB, free: 3.875 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.000838/0.000838, allocations: 160.9 kB / 23.95 MB, free: 0.5977 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.8505/0.8505, allocations: 177 MB / 204.1 MB, free: 5.746 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.2404/0.2404, allocations: 34.23 MB / 294.8 MB, free: 0.7266 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.442e-06/1.442e-06, allocations: 0 / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.073e-05, allocations: 4.812 kB / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.001642/0.001663, allocations: 1.228 MB / 443.4 MB, free: 360 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1631/0.1647, allocations: 403.7 kB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.063e-05/0.1648, allocations: 0 / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.265e-05/0.1648, allocations: 0 / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.068e-05/0.1648, allocations: 1.062 kB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.1654, allocations: 75.86 kB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.454e-05/0.1654, allocations: 0.6562 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.1654, allocations: 4.812 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.828e-05/0.1655, allocations: 2.953 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.1657, allocations: 40.33 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.1657, allocations: 0 / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.901e-05/0.1657, allocations: 7.078 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.415e-06/0.1657, allocations: 0.75 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.608e-05/0.1658, allocations: 3.812 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.45e-05/0.1658, allocations: 7.969 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1659, allocations: 7.078 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1659, allocations: 0.6875 kB / 443.9 MB, free: 43.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1659, 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.0002072/0.1661, allocations: 238.6 kB / 444.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1661, allocations: 9.375 kB / 444.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.18e-05/0.1661, allocations: 31.56 kB / 444.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.1662, allocations: 12.02 kB / 444.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.555e-05/0.1663, allocations: 105.4 kB / 444.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.1663, allocations: 384 / 444.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.1663, allocations: 1.125 kB / 444.3 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.08e-05/0.1664, allocations: 58.62 kB / 444.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.1664, allocations: 3.375 kB / 444.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-06/0.1664, allocations: 384 / 444.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1664, allocations: 4.125 kB / 444.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.544e-05/0.1664, allocations: 5.922 kB / 444.4 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.1666, allocations: 353.1 kB / 444.7 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.736e-05/0.1666, allocations: 166.6 kB / 444.9 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.197e-05/0.1667, allocations: 82.77 kB / 445 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.1667, allocations: 79.97 kB / 445.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.1667, allocations: 113.5 kB / 445.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1667, allocations: 0 / 445.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 4.785e-05/0.1667, allocations: 32.47 kB / 445.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.1668, allocations: 126.7 kB / 445.3 MB, free: 41.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.215e-05/0.1668, allocations: 97.36 kB / 445.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-06/0.1668, allocations: 25.7 kB / 445.4 MB, free: 41.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.983e-05/0.1668, allocations: 80.64 kB / 445.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.1668, allocations: 0 / 445.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.1669, allocations: 12.94 kB / 445.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.909e-05/0.1669, allocations: 321.6 kB / 445.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.1669, allocations: 0.625 kB / 445.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.439e-06/0.1669, allocations: 0 / 445.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.802e-05/0.1669, allocations: 7.672 kB / 445.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1669, allocations: 0 / 445.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.27e-05/0.167, allocations: 39.38 kB / 445.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.167, allocations: 8.438 kB / 445.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.167, allocations: 0 / 445.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.167, allocations: 0 / 445.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.256e-05/0.1671, allocations: 10.47 kB / 445.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1671, allocations: 0 / 445.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.915e-06/0.1671, allocations: 0 / 445.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.1671, allocations: 3.531 kB / 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.348e-05/0.1671, allocations: 183.8 kB / 446.1 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.1671, allocations: 111.8 kB / 446.2 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.943e-05/0.1671, allocations: 114.4 kB / 446.3 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.1672, allocations: 180.7 kB / 446.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.1672, allocations: 180.8 kB / 446.7 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.1672, allocations: 183.2 kB / 446.8 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.333e-05/0.1673, allocations: 374.7 kB / 447.2 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.1673, allocations: 104.4 kB / 447.3 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-06/0.1673, allocations: 104.2 kB / 447.4 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/0.1673, allocations: 188 kB / 447.6 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.1673, allocations: 177.2 kB / 447.8 MB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-05/0.1673, allocations: 187 kB / 448 MB, free: 39.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/0.1673, allocations: 176.8 kB / 448.1 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.263e-05/0.1674, allocations: 307.8 kB / 448.4 MB, free: 38.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.541e-05/0.1674, allocations: 112.2 kB / 448.5 MB, free: 38.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.1674, allocations: 185.7 kB / 448.7 MB, free: 38.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.898e-05/0.1674, allocations: 104.4 kB / 448.8 MB, free: 38.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.1675, allocations: 184.8 kB / 449 MB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.1675, allocations: 105 kB / 449.1 MB, free: 37.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.52e-05/0.1675, allocations: 75.28 kB / 449.2 MB, free: 37.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1675, allocations: 0 / 449.2 MB, free: 37.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001318/0.1676, allocations: 4 kB / 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.00014/0.1677, allocations: 0.803 MB / 450 MB, free: 36.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.122e-05/0.1678, allocations: 6.828 kB / 450 MB, free: 36.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.1678, allocations: 0 / 450 MB, free: 36.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.1678, allocations: 4.188 kB / 450 MB, free: 36.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.168, allocations: 460.1 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.000266/0.1682, allocations: 178.7 kB / 450.6 MB, free: 36.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.599e-05/0.1683, allocations: 57.48 kB / 450.7 MB, free: 36.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.831e-05/0.1683, allocations: 0 / 450.7 MB, free: 36.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.016e-05/0.1683, allocations: 15.06 kB / 450.7 MB, free: 36.24 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1683, allocations: 0 / 450.7 MB, free: 36.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.1844, allocations: 1.525 MB / 452.2 MB, free: 35.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.883/7.067, allocations: 9.281 kB / 452.2 MB, free: 35.42 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.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_trunk_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.921109880320728]