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.001118/0.001118, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001609/0.002727, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001104/0.001104, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001357/0.002461, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.8776/0.8776, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07618/0.9538, allocations: 53.88 MB / 243.8 MB, free: 14.91 MB / 250.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.2635/0.2635, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02547/0.289, allocations: 13.23 MB / 292.6 MB, free: 6.473 MB / 282.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.273e-06/1.273e-06, allocations: 0 / 293.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.934e-05, allocations: 3.516 kB / 293.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.001937/0.001956, allocations: 1.285 MB / 295.1 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005867/0.002543, allocations: 436.6 kB / 295.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.069e-05/0.002554, allocations: 0 / 295.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.212e-06/0.00256, allocations: 0 / 295.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.491e-05/0.002575, allocations: 3.984 kB / 295.6 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.00293, allocations: 67.69 kB / 295.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.965e-05/0.00297, allocations: 0 / 295.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.003007, allocations: 11.98 kB / 295.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.26e-05/0.003039, allocations: 0 / 295.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.003208, allocations: 31.97 kB / 295.7 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.425e-06/0.003216, allocations: 7.938 kB / 295.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.407e-05/0.00328, allocations: 11.98 kB / 295.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.813e-06/0.003287, allocations: 0 / 295.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.066e-05/0.003298, allocations: 4 kB / 295.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.56e-05/0.003364, allocations: 7.938 kB / 295.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-05/0.003376, allocations: 0 / 295.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003377, allocations: 0 / 295.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.00339, allocations: 0 / 295.7 MB, free: 3.336 MB / 282.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.0002284/0.003619, allocations: 220.7 kB / 295.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.003649, allocations: 8.922 kB / 295.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.003806, allocations: 82.05 kB / 296 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.015e-05/0.003866, allocations: 113.8 kB / 296.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.003875, allocations: 384 / 296.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.003881, allocations: 4.375 kB / 296.1 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.518e-05/0.003956, allocations: 55.97 kB / 296.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.003964, allocations: 192 / 296.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.00397, allocations: 384 / 296.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.003975, allocations: 384 / 296.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.129e-05/0.003986, allocations: 3.938 kB / 296.2 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.004199, allocations: 298.8 kB / 296.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.194e-05/0.004261, allocations: 165.1 kB / 296.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.004286, allocations: 92.08 kB / 296.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.004305, allocations: 75.28 kB / 296.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.004342, allocations: 109.8 kB / 296.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.004342, allocations: 0 / 296.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.721e-05/0.0044, allocations: 29.64 kB / 296.9 MB, free: 1.977 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.004447, allocations: 130.6 kB / 297.1 MB, free: 1.836 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.026e-05/0.004508, allocations: 98.72 kB / 297.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.004516, allocations: 25.7 kB / 297.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.004552, allocations: 89.23 kB / 297.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.23e-06/0.004558, allocations: 128 / 297.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.004584, allocations: 21.7 kB / 297.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.483e-05/0.004659, allocations: 314.8 kB / 297.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.947e-06/0.004663, allocations: 0 / 297.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-06/0.004669, allocations: 4 kB / 297.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.714e-05/0.004686, allocations: 4.859 kB / 297.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.004687, allocations: 0 / 297.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.839e-05/0.004746, allocations: 33.64 kB / 297.7 MB, free: 1.211 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.004759, allocations: 8 kB / 297.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.004763, allocations: 0 / 297.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.004773, allocations: 8.078 kB / 297.7 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.286e-05/0.004806, allocations: 7.922 kB / 297.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.004809, allocations: 4 kB / 297.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.173e-05/0.004821, allocations: 4 kB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-06/0.004825, allocations: 0 / 297.7 MB, free: 1.18 MB / 282.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.445e-05/0.004889, allocations: 185.1 kB / 297.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.004933, allocations: 108.9 kB / 298 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.004966, allocations: 104 kB / 298.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.581e-05/0.005012, allocations: 180.2 kB / 298.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.605e-05/0.005058, allocations: 188.1 kB / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-05/0.005101, allocations: 180.3 kB / 298.6 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.00526, allocations: 317.4 kB / 298.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-05/0.005301, allocations: 105 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.005331, allocations: 109 kB / 299.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.005366, allocations: 108.9 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.742e-05/0.005413, allocations: 176.3 kB / 299.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/0.00546, allocations: 180.4 kB / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.724e-05/0.005507, allocations: 188.2 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.076e-05/0.005558, allocations: 184.2 kB / 299.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.005667, allocations: 307.8 kB / 300.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.005722, allocations: 184.2 kB / 300.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.934e-05/0.005782, allocations: 109 kB / 300.5 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.00583, allocations: 176.3 kB / 300.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.005858, allocations: 108.9 kB / 300.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.395e-05/0.005872, allocations: 8.797 kB / 300.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005872, allocations: 0 / 300.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001585/0.006031, allocations: 0 / 300.8 MB, free: 13.87 MB / 298.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.636e-05/0.006127, allocations: 152.2 kB / 301 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.569e-05/0.006173, allocations: 4.859 kB / 301 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.006179, allocations: 8.156 kB / 301 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.006181, allocations: 3.938 kB / 301 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.006396, allocations: 463.7 kB / 301.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.006696, allocations: 160.2 kB / 301.6 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.001e-05/0.006726, allocations: 51.36 kB / 301.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.575e-05/0.006742, allocations: 0 / 301.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.006767, allocations: 47.38 kB / 301.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of SimCode: time 7.12e-07/0.006768, allocations: 0 / 301.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of Templates: time 0.001451/0.008219, allocations: 206.4 kB / 301.9 MB, free: 12.75 MB / 298.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 -emit_protected -ignoreHideResult -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: 2.474905824288726]