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.001132/0.001132, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001393/0.002525, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00075/0.00075, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009134/0.001663, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9344/0.9344, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08474/1.019, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.232/0.232, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02152/0.2535, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.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 7.12e-07/7.12e-07, allocations: 0 / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.244e-06/7.956e-06, allocations: 4.562 kB / 292.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.001367/0.001375, allocations: 1.287 MB / 293.9 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004562/0.001832, allocations: 436.4 kB / 294.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.877e-06/0.00184, allocations: 4 kB / 294.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.162e-06/0.001847, allocations: 0 / 294.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.044e-05/0.001857, allocations: 0 / 294.3 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.002147, allocations: 67.73 kB / 294.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.821e-05/0.002185, allocations: 7.938 kB / 294.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.161e-05/0.002217, allocations: 0.5 kB / 294.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.184e-05/0.002249, allocations: 7.984 kB / 294.4 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.002392, allocations: 31.97 kB / 294.5 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.002402, allocations: 8 kB / 294.5 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.615e-05/0.002458, allocations: 4 kB / 294.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.932e-06/0.002464, allocations: 0 / 294.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.958e-06/0.002474, allocations: 0 / 294.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.4e-05/0.002538, allocations: 11.92 kB / 294.5 MB, free: 4.438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.002549, allocations: 0 / 294.5 MB, free: 4.438 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.00255, allocations: 7.938 kB / 294.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.00256, allocations: 0 / 294.5 MB, free: 4.43 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.0001882/0.002748, allocations: 208.8 kB / 294.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.528e-05/0.002773, allocations: 12.03 kB / 294.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.002905, allocations: 90.03 kB / 294.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.901e-05/0.002954, allocations: 109.7 kB / 294.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.211e-06/0.00296, allocations: 384 / 294.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-06/0.002966, allocations: 4.375 kB / 294.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.144e-05/0.003027, allocations: 55.95 kB / 295 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.003033, allocations: 192 / 295 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.08e-06/0.003038, allocations: 384 / 295 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.003042, allocations: 384 / 295 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.006e-05/0.003052, allocations: 7.938 kB / 295 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.003231, allocations: 286.9 kB / 295.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.566e-05/0.003286, allocations: 177.1 kB / 295.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.003307, allocations: 84.14 kB / 295.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.003324, allocations: 79.27 kB / 295.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.003356, allocations: 105.8 kB / 295.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.003357, allocations: 0 / 295.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 4.355e-05/0.0034, allocations: 33.64 kB / 295.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.003449, allocations: 130.6 kB / 295.8 MB, free: 2.934 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.568e-05/0.003504, allocations: 94.72 kB / 295.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.223e-06/0.003512, allocations: 25.7 kB / 296 MB, free: 2.797 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.428e-05/0.003546, allocations: 89.28 kB / 296 MB, free: 2.707 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.00355, allocations: 128 / 296 MB, free: 2.707 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/0.003568, allocations: 17.67 kB / 296.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.542e-05/0.003634, allocations: 322.8 kB / 296.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.956e-06/0.003636, allocations: 0 / 296.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-06/0.00364, allocations: 0 / 296.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.591e-05/0.003656, allocations: 12.86 kB / 296.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.003658, allocations: 0 / 296.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.419e-05/0.003702, allocations: 33.64 kB / 296.4 MB, free: 2.305 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.003711, allocations: 4 kB / 296.4 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.003715, allocations: 0 / 296.4 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.671e-06/0.00372, allocations: 4.094 kB / 296.4 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.99e-05/0.00375, allocations: 11.88 kB / 296.4 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.003752, allocations: 0 / 296.4 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.683e-06/0.003759, allocations: 0 / 296.4 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.003763, allocations: 3.984 kB / 296.4 MB, free: 2.281 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 5.346e-05/0.003816, allocations: 185.1 kB / 296.6 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.003848, allocations: 101 kB / 296.7 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.003879, allocations: 107.9 kB / 296.8 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.06e-05/0.003919, allocations: 184.3 kB / 297 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.001e-05/0.003959, allocations: 184.1 kB / 297.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.702e-05/0.003996, allocations: 184.2 kB / 297.4 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.004113, allocations: 321.5 kB / 297.7 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-05/0.004136, allocations: 105 kB / 297.8 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.004161, allocations: 109 kB / 297.9 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.004187, allocations: 108.9 kB / 298 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.624e-05/0.004223, allocations: 176.3 kB / 298.2 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.00426, allocations: 180.5 kB / 298.3 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-05/0.004305, allocations: 180.2 kB / 298.5 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001073/0.004412, allocations: 184.2 kB / 298.7 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.004539, allocations: 315.7 kB / 299 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.004582, allocations: 176.3 kB / 299.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.42e-05/0.004626, allocations: 108.9 kB / 299.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.004665, allocations: 180.3 kB / 299.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.00469, allocations: 108.9 kB / 299.6 MB, free: 14.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.415e-05/0.004714, allocations: 8.797 kB / 299.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.004714, allocations: 0 / 299.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001124/0.004826, allocations: 4 kB / 299.6 MB, free: 14.96 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 0.0001028/0.004929, allocations: 147.7 kB / 299.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.303e-05/0.004982, allocations: 12.86 kB / 299.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.004989, allocations: 4.156 kB / 299.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.00499, allocations: 0 / 299.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.005161, allocations: 455.7 kB / 300.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.005477, allocations: 166 kB / 300.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.609e-05/0.005503, allocations: 51.36 kB / 300.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.654e-05/0.005519, allocations: 4 kB / 300.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.005545, allocations: 47.38 kB / 300.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.005546, allocations: 3.938 kB / 300.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of Templates: time 0.001332/0.006878, allocations: 211.4 kB / 300.7 MB, free: 13.83 MB / 298.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 -ignoreHideResult -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: 2.658303369767964]