Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 170.8 kB / 24.82 MB, free: 9.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3197/0.3197, allocations: 34.26 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 378.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.713e-05/3.991e-05, allocations: 2.312 kB / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.003602/0.003641, allocations: 1.243 MB / 379.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.004658, allocations: 427.8 kB / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.004683, allocations: 0 / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.479e-05/0.004708, allocations: 0 / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.981e-05/0.004748, allocations: 0 / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.005432, allocations: 75.67 kB / 380.2 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.906e-05/0.005501, allocations: 7.984 kB / 380.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.00555, allocations: 0 / 380.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.038e-05/0.00559, allocations: 0 / 380.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.005869, allocations: 35.97 kB / 380.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.005882, allocations: 0 / 380.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.5e-05/0.005967, allocations: 7.984 kB / 380.3 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.005979, allocations: 3.984 kB / 380.3 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.005996, allocations: 4 kB / 380.3 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.974e-05/0.006096, allocations: 15.94 kB / 380.3 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.006101, allocations: 0 / 380.3 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.006103, allocations: 0 / 380.3 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.006108, allocations: 0 / 380.3 MB, free: 0.5703 MB / 346.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.0003205/0.006428, allocations: 340.4 kB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.006486, allocations: 12.03 kB / 380.7 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.006641, allocations: 0.9375 kB / 380.7 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.3e-05/0.006714, allocations: 112.6 kB / 380.8 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.006727, allocations: 4.312 kB / 380.8 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-06/0.006734, allocations: 384 / 380.8 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.006872, allocations: 63.95 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.006881, allocations: 192 / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.006889, allocations: 384 / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.006896, allocations: 384 / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.411e-05/0.00691, allocations: 7.938 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.007291, allocations: 458.9 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.007408, allocations: 269.4 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.007447, allocations: 130.9 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.00748, allocations: 119.2 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.933e-05/0.007539, allocations: 160.6 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.00754, allocations: 4 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.024e-05/0.00761, allocations: 33.58 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.007679, allocations: 170.6 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.007875, allocations: 153.9 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.007886, allocations: 25.7 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.00795, allocations: 131.2 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.007953, allocations: 0 / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.007989, allocations: 19.38 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.008134, allocations: 496.1 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.008144, allocations: 0 / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-06/0.008153, allocations: 4.125 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.999e-05/0.008183, allocations: 11.69 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.008186, allocations: 0 / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.815e-05/0.008284, allocations: 37.62 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.008301, allocations: 4 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.008308, allocations: 4 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.008322, allocations: 3.938 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.135e-05/0.008373, allocations: 0 / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.008378, allocations: 0 / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.008394, allocations: 4.031 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.008399, allocations: 4 kB / 383 MB, free: 13.63 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 0.0001278/0.008527, allocations: 287.7 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.008601, allocations: 144.9 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.563e-05/0.008677, allocations: 155.8 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.111e-05/0.008768, allocations: 272 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002709/0.009039, allocations: 268 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.212e-05/0.009121, allocations: 272.1 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.009313, allocations: 472.5 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.331e-05/0.009356, allocations: 152.8 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.009392, allocations: 148.9 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.585e-05/0.009457, allocations: 276 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.86e-05/0.009526, allocations: 264.1 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.771e-05/0.009594, allocations: 268.1 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.396e-05/0.009668, allocations: 268 kB / 386.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.009829, allocations: 455.9 kB / 386.7 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.009882, allocations: 148.9 kB / 386.8 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.555e-05/0.009958, allocations: 264.1 kB / 387.1 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.819e-05/0.01002, allocations: 148.8 kB / 387.2 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.01009, allocations: 268.4 kB / 387.5 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.01014, allocations: 160.8 kB / 387.6 MB, free: 8.855 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.959e-05/0.01019, allocations: 123.2 kB / 387.7 MB, free: 8.734 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01019, allocations: 0 / 387.7 MB, free: 8.734 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001323/0.01032, allocations: 4 kB / 387.7 MB, free: 8.73 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 0.0005418/0.01086, allocations: 210.4 kB / 388 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.581e-05/0.01094, allocations: 19.7 kB / 388 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.01094, allocations: 0 / 388 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/0.01094, allocations: 4 kB / 388 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.01129, allocations: 0.7061 MB / 388.7 MB, free: 7.777 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.01156, allocations: 214.5 kB / 388.9 MB, free: 7.539 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.217e-05/0.01159, allocations: 55.3 kB / 388.9 MB, free: 7.465 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.912e-05/0.01161, allocations: 0 / 388.9 MB, free: 7.465 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.01165, allocations: 66.2 kB / 389 MB, free: 7.398 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01165, allocations: 0 / 389 MB, free: 7.398 MB / 362.7 MB Notification: Performance of Templates: time 0.001824/0.01347, allocations: 200.8 kB / 389.2 MB, free: 7.203 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.178500371053815]