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.001317/0.001317, allocations: 89.14 kB / 20.68 MB, free: 1.008 MB / 14.72 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.001472/0.001472, allocations: 161.9 kB / 23.95 MB, free: 4.125 MB / 14.72 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.486/1.486, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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.2119/0.2119, allocations: 34.26 MB / 294.8 MB, free: 14.51 MB / 286.1 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.573e-06/1.573e-06, allocations: 0 / 442.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.751e-05, allocations: 6.219 kB / 442.6 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002115/0.002143, allocations: 1.238 MB / 443.9 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007991/0.002942, allocations: 400 kB / 444.3 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.305e-05/0.002955, allocations: 4 kB / 444.3 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.002967, allocations: 0 / 444.3 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.275e-05/0.002999, allocations: 3.938 kB / 444.3 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.003468, allocations: 75.61 kB / 444.4 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.584e-05/0.003503, allocations: 3.984 kB / 444.4 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.003539, allocations: 0 / 444.4 MB, free: 3.578 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.328e-05/0.003562, allocations: 4 kB / 444.4 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.003764, allocations: 39.97 kB / 444.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.205e-06/0.003772, allocations: 0 / 444.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.729e-05/0.00382, allocations: 4 kB / 444.4 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.00383, allocations: 3.984 kB / 444.4 MB, free: 3.527 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.204e-05/0.003842, allocations: 3.938 kB / 444.4 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.542e-05/0.003907, allocations: 11.98 kB / 444.4 MB, free: 3.512 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.003912, allocations: 4 kB / 444.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003912, allocations: 0 / 444.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.003916, allocations: 0 / 444.4 MB, free: 3.508 MB / 366.1 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.0002937/0.004209, allocations: 238.4 kB / 444.7 MB, free: 3.242 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.004241, allocations: 8.031 kB / 444.7 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.004363, allocations: 8.922 kB / 444.7 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.779e-05/0.004451, allocations: 101.8 kB / 444.8 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.004462, allocations: 384 / 444.8 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-06/0.004466, allocations: 4.375 kB / 444.8 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.004578, allocations: 59.91 kB / 444.8 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.004586, allocations: 192 / 444.8 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.004593, allocations: 384 / 444.8 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.004602, allocations: 4.375 kB / 444.9 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.523e-05/0.004617, allocations: 3.938 kB / 444.9 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.004957, allocations: 335.2 kB / 445.2 MB, free: 2.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.005061, allocations: 165.1 kB / 445.3 MB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.998e-05/0.005101, allocations: 92.05 kB / 445.4 MB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.005142, allocations: 75.28 kB / 445.5 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.439e-05/0.005206, allocations: 105.8 kB / 445.6 MB, free: 2.207 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.005207, allocations: 0 / 445.6 MB, free: 2.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.887e-05/0.005286, allocations: 37.62 kB / 445.6 MB, free: 2.164 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.005357, allocations: 126.7 kB / 445.8 MB, free: 2.027 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/0.005447, allocations: 93.86 kB / 445.9 MB, free: 1.926 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.005462, allocations: 29.83 kB / 445.9 MB, free: 1.891 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.005518, allocations: 88.09 kB / 446 MB, free: 1.801 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.00552, allocations: 0 / 446 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.00555, allocations: 9.719 kB / 446 MB, free: 1.785 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.005693, allocations: 310.8 kB / 446.3 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.117e-05/0.005704, allocations: 7.938 kB / 446.3 MB, free: 1.465 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-06/0.005708, allocations: 0 / 446.3 MB, free: 1.465 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.077e-05/0.005728, allocations: 12.8 kB / 446.3 MB, free: 1.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.00573, allocations: 0 / 446.3 MB, free: 1.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.314e-05/0.005823, allocations: 37.78 kB / 446.3 MB, free: 1.406 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.005835, allocations: 8 kB / 446.4 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.005842, allocations: 7.922 kB / 446.4 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.005857, allocations: 0 / 446.4 MB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.13e-05/0.005898, allocations: 4 kB / 446.4 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.005903, allocations: 0 / 446.4 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.273e-05/0.005915, allocations: 4 kB / 446.4 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.005919, allocations: 3.938 kB / 446.4 MB, free: 1.379 MB / 366.1 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 0.0001022/0.006021, allocations: 181.1 kB / 446.6 MB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.006092, allocations: 109 kB / 446.7 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.174e-05/0.006154, allocations: 111.9 kB / 446.8 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.473e-05/0.006249, allocations: 184.2 kB / 446.9 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.938e-05/0.006328, allocations: 180.4 kB / 447.1 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.69e-05/0.006405, allocations: 184.2 kB / 447.3 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.006636, allocations: 356.9 kB / 447.7 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.1743/0.181, allocations: 103.9 kB / 447.8 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.612e-05/0.181, allocations: 102.4 kB / 447.9 MB, free: 19.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.446e-05/0.181, allocations: 181.1 kB / 448 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.181, allocations: 178.1 kB / 448.2 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.491e-05/0.1811, allocations: 186.4 kB / 448.4 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-05/0.1811, allocations: 182.1 kB / 448.6 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.002e-05/0.1812, allocations: 303.3 kB / 448.9 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.1812, allocations: 106.6 kB / 449 MB, free: 18.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.1812, allocations: 180.1 kB / 449.1 MB, free: 17.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.971e-05/0.1813, allocations: 113.6 kB / 449.3 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.1813, allocations: 178.1 kB / 449.4 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.1813, allocations: 109.8 kB / 449.5 MB, free: 17.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.38e-05/0.1814, allocations: 80.38 kB / 449.6 MB, free: 17.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1814, allocations: 0 / 449.6 MB, free: 17.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.1816, allocations: 1.156 kB / 449.6 MB, free: 17.43 MB / 366.1 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.47e-05/0.1817, allocations: 169.3 kB / 449.8 MB, free: 17.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.601e-05/0.1818, allocations: 6.344 kB / 449.8 MB, free: 17.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1818, allocations: 0 / 449.8 MB, free: 17.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.405e-06/0.1818, allocations: 1.406 kB / 449.8 MB, free: 17.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.182, allocations: 461.7 kB / 450.2 MB, free: 16.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002082/0.1823, allocations: 164.7 kB / 450.4 MB, free: 16.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.632e-05/0.1823, allocations: 54.42 kB / 450.4 MB, free: 16.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.024e-05/0.1823, allocations: 0.6094 kB / 450.4 MB, free: 16.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.754e-05/0.1823, allocations: 9.625 kB / 450.5 MB, free: 16.58 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1823, allocations: 0 / 450.5 MB, free: 16.58 MB / 366.1 MB Notification: Performance of Templates: time 0.002336/0.1847, allocations: 177.9 kB / 450.6 MB, free: 16.56 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 480] 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: 4.7679592072963715]