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.001398/0.001398, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001165/0.001165, allocations: 170 kB / 24.82 MB, free: 9.254 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.9353/0.9353, allocations: 177 MB / 205.1 MB, free: 5.496 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.2504/0.2504, allocations: 34.86 MB / 296.6 MB, free: 456 kB / 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.593e-06/1.593e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.879e-06/1.147e-05, allocations: 6.312 kB / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.001336/0.001347, allocations: 1.248 MB / 380.5 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005102/0.001857, allocations: 415.8 kB / 380.9 MB, free: 148 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.309e-05/0.00187, allocations: 0 / 380.9 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.001885, allocations: 0 / 380.9 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.295e-05/0.001908, allocations: 7.938 kB / 380.9 MB, free: 140 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.00229, allocations: 71.73 kB / 381 MB, free: 68 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.895e-05/0.002329, allocations: 4 kB / 381 MB, free: 64 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.584e-05/0.002365, allocations: 11.97 kB / 381 MB, free: 52 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.822e-05/0.002393, allocations: 0 / 381 MB, free: 52 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.002562, allocations: 31.97 kB / 381 MB, free: 20 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.877e-06/0.002571, allocations: 0 / 381 MB, free: 20 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.368e-05/0.002625, allocations: 8 kB / 381 MB, free: 12 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.575e-06/0.002632, allocations: 3.938 kB / 381 MB, free: 8 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.123e-05/0.002644, allocations: 7.984 kB / 381 MB, free: 0 / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.723e-05/0.002721, allocations: 11.92 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002722, allocations: 4 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002723, allocations: 0 / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.002726, allocations: 0 / 381 MB, free: 15.98 MB / 362.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.0001995/0.002925, allocations: 344.4 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.002959, allocations: 8.031 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.857e-05/0.003048, allocations: 4.938 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.141e-05/0.003099, allocations: 112.6 kB / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.003108, allocations: 384 / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-06/0.003113, allocations: 384 / 381.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.284e-05/0.003176, allocations: 59.97 kB / 381.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.003181, allocations: 192 / 381.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-06/0.003186, allocations: 384 / 381.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.003191, allocations: 384 / 381.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.635e-06/0.003199, allocations: 3.938 kB / 381.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.003408, allocations: 462.8 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.386e-05/0.003472, allocations: 269.5 kB / 382.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.684e-05/0.003499, allocations: 126.9 kB / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.00352, allocations: 119.2 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.003555, allocations: 160.6 kB / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.003556, allocations: 0 / 382.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 4.083e-05/0.003597, allocations: 33.58 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.003635, allocations: 170.6 kB / 382.9 MB, free: 14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.682e-05/0.003692, allocations: 153.9 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.003698, allocations: 29.7 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.003737, allocations: 139.1 kB / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.003738, allocations: 0 / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-05/0.003757, allocations: 15.38 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.11e-05/0.003848, allocations: 496.1 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.447e-06/0.003852, allocations: 8.062 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-06/0.003855, allocations: 0 / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.812e-05/0.003874, allocations: 11.69 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.003875, allocations: 3.938 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.977e-05/0.003925, allocations: 29.7 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.003934, allocations: 4 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.003937, allocations: 0 / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.003947, allocations: 7.922 kB / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.429e-05/0.003972, allocations: 4 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-06/0.003974, allocations: 96 / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.583e-06/0.00398, allocations: 4 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-06/0.003983, allocations: 0 / 383.8 MB, free: 13.05 MB / 362.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.838e-05/0.004051, allocations: 279.8 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.004093, allocations: 148.8 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.004133, allocations: 155.9 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.883e-05/0.004192, allocations: 276 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.001e-05/0.004242, allocations: 268 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.965e-05/0.004291, allocations: 264.1 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.004429, allocations: 480.5 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.95e-05/0.004458, allocations: 144.9 kB / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.004738, allocations: 152.9 kB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.566e-05/0.004794, allocations: 280 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/0.004849, allocations: 264.1 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.138e-05/0.004901, allocations: 268 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.175e-05/0.004952, allocations: 268.1 kB / 386.9 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.005058, allocations: 451.9 kB / 387.4 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.005092, allocations: 144.9 kB / 387.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.741e-05/0.005159, allocations: 276 kB / 387.8 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-05/0.005207, allocations: 144.9 kB / 387.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.005262, allocations: 272.3 kB / 388.2 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.005289, allocations: 156.8 kB / 388.3 MB, free: 8.273 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.66e-05/0.005316, allocations: 119.2 kB / 388.5 MB, free: 8.156 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005316, allocations: 0 / 388.5 MB, free: 8.156 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001266/0.005443, allocations: 0 / 388.5 MB, free: 8.156 MB / 362.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 8.546e-05/0.005528, allocations: 217.7 kB / 388.7 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.248e-05/0.005571, allocations: 11.72 kB / 388.7 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005572, allocations: 3.938 kB / 388.7 MB, free: 7.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.734e-06/0.005573, allocations: 7.938 kB / 388.7 MB, free: 7.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.005812, allocations: 0.7102 MB / 389.4 MB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001458/0.005958, allocations: 211.1 kB / 389.6 MB, free: 6.957 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.454e-05/0.005982, allocations: 55.3 kB / 389.7 MB, free: 6.883 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.276e-05/0.005995, allocations: 0 / 389.7 MB, free: 6.883 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.006021, allocations: 66.2 kB / 389.7 MB, free: 6.816 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.006021, allocations: 0 / 389.7 MB, free: 6.816 MB / 362.7 MB Notification: Performance of Templates: time 0.001134/0.007155, allocations: 200.7 kB / 389.9 MB, free: 6.621 MB / 362.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 -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.7482848740182817]