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.001496/0.001496, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001188/0.001188, allocations: 161.7 kB / 24.91 MB, free: 8.68 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 1.048/1.048, allocations: 177 MB / 205.2 MB, free: 5.461 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.2978/0.2978, allocations: 34.87 MB / 296.6 MB, free: 0.5 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: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 325.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.861e-05, allocations: 2.969 kB / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.001879/0.001908, allocations: 1.302 MB / 327.3 MB, free: 5.809 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006383/0.002546, allocations: 424.8 kB / 327.7 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.305e-05/0.002559, allocations: 0 / 327.7 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.504e-05/0.002574, allocations: 0 / 327.7 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.964e-05/0.002604, allocations: 0 / 327.7 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.003054, allocations: 83.66 kB / 327.7 MB, free: 5.309 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.778e-05/0.003102, allocations: 8.547 kB / 327.8 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.003137, allocations: 4 kB / 327.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.095e-05/0.003168, allocations: 0 / 327.8 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.003357, allocations: 35.95 kB / 327.8 MB, free: 5.262 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.003365, allocations: 0 / 327.8 MB, free: 5.262 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.677e-05/0.003432, allocations: 4 kB / 327.8 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.003442, allocations: 4 kB / 327.8 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.109e-05/0.003453, allocations: 0 / 327.8 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.51e-05/0.003529, allocations: 15.94 kB / 327.8 MB, free: 5.238 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.00353, allocations: 0 / 327.8 MB, free: 5.238 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.003531, allocations: 0 / 327.8 MB, free: 5.238 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.003535, allocations: 0 / 327.8 MB, free: 5.238 MB / 298.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.0001863/0.003722, allocations: 216.8 kB / 328 MB, free: 5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.003756, allocations: 8.031 kB / 328 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.00387, allocations: 8.922 kB / 328 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.15e-05/0.003931, allocations: 101.8 kB / 328.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.003941, allocations: 4.375 kB / 328.2 MB, free: 4.855 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-06/0.003947, allocations: 384 / 328.2 MB, free: 4.855 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.131e-05/0.004018, allocations: 51.97 kB / 328.2 MB, free: 4.793 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.004024, allocations: 4.188 kB / 328.2 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.004031, allocations: 8.312 kB / 328.2 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.004035, allocations: 384 / 328.2 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.187e-06/0.004045, allocations: 3.938 kB / 328.2 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.004261, allocations: 290.9 kB / 328.5 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.119e-05/0.004322, allocations: 169.2 kB / 328.7 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.004345, allocations: 80.14 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.004367, allocations: 83.16 kB / 328.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.004405, allocations: 109.8 kB / 328.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.004405, allocations: 0 / 328.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 4.952e-05/0.004455, allocations: 29.7 kB / 329 MB, free: 3.984 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.004498, allocations: 130.6 kB / 329.1 MB, free: 3.844 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.887e-05/0.004567, allocations: 111.4 kB / 329.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.004575, allocations: 25.7 kB / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.004618, allocations: 85.12 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-06/0.00462, allocations: 0 / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.004641, allocations: 13.72 kB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.762e-05/0.004719, allocations: 310.8 kB / 329.6 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-06/0.004723, allocations: 0 / 329.6 MB, free: 3.273 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-06/0.004729, allocations: 4.062 kB / 329.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.175e-05/0.004751, allocations: 12.92 kB / 329.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.004753, allocations: 0 / 329.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.129e-05/0.004814, allocations: 33.69 kB / 329.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.004825, allocations: 4 kB / 329.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.00483, allocations: 0 / 329.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.004843, allocations: 4 kB / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.447e-05/0.004877, allocations: 3.938 kB / 329.7 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.00488, allocations: 0 / 329.7 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.03e-05/0.00489, allocations: 3.938 kB / 329.7 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.004894, allocations: 4.031 kB / 329.7 MB, free: 3.191 MB / 298.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 6.963e-05/0.004964, allocations: 189.1 kB / 329.9 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.005004, allocations: 101 kB / 330 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.005043, allocations: 112 kB / 330.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.884e-05/0.005091, allocations: 184.2 kB / 330.3 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-05/0.005135, allocations: 184.2 kB / 330.4 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.847e-05/0.005184, allocations: 184.2 kB / 330.6 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.005309, allocations: 318.2 kB / 330.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.672e-05/0.005336, allocations: 101 kB / 331 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/0.005363, allocations: 108.9 kB / 331.1 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.353e-05/0.005406, allocations: 180.3 kB / 331.3 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.005454, allocations: 188.2 kB / 331.5 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.443e-05/0.005499, allocations: 180.3 kB / 331.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.186e-05/0.00554, allocations: 180.2 kB / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.005662, allocations: 307.6 kB / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.005698, allocations: 108.9 kB / 332.3 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.005747, allocations: 180.2 kB / 332.4 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.992e-05/0.005797, allocations: 105 kB / 332.5 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.005851, allocations: 184.5 kB / 332.7 MB, free: 0 / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.005893, allocations: 105 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.774e-05/0.005911, allocations: 16.8 kB / 332.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005911, allocations: 0 / 332.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000117/0.006028, allocations: 0 / 332.8 MB, free: 15.87 MB / 314.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 9.226e-05/0.00612, allocations: 155.7 kB / 333 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.362e-05/0.006173, allocations: 12.8 kB / 333 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.006178, allocations: 0 / 333 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.006179, allocations: 0 / 333 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.006402, allocations: 460.9 kB / 333.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.006666, allocations: 166.6 kB / 333.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.251e-05/0.006708, allocations: 55.36 kB / 333.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.009e-05/0.006738, allocations: 0 / 333.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.006774, allocations: 51.36 kB / 333.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of SimCode: time 1.473e-06/0.006776, allocations: 0 / 333.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of Templates: time 0.001597/0.008373, allocations: 202.9 kB / 333.9 MB, free: 14.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0644905888475478]