Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.0008593/0.0008593, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001148/0.002008, 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.0008132/0.0008132, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004365/0.005178, 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 1.125/1.125, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09111/1.216, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.2531/0.2531, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02739/0.2805, allocations: 13.1 MB / 291.3 MB, free: 7.363 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.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 292.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.247e-05, allocations: 3.891 kB / 292.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002224/0.002246, allocations: 1.808 MB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.003413, allocations: 1.025 MB / 295.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.003479, allocations: 0 / 295.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.003656, allocations: 39.72 kB / 295.6 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.003854, allocations: 91.47 kB / 295.7 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.004004, allocations: 83.66 kB / 295.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.004148, allocations: 107.6 kB / 295.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.341e-05/0.004221, allocations: 15.92 kB / 295.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.004331, allocations: 75.88 kB / 296 MB, free: 2.953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.576e-05/0.004407, allocations: 31.84 kB / 296 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.004421, allocations: 4 kB / 296 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.639e-05/0.004497, allocations: 47.86 kB / 296 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.897e-05/0.004536, allocations: 19.92 kB / 296.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.004567, allocations: 15.94 kB / 296.1 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.004716, allocations: 95.66 kB / 296.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.547e-05/0.004732, allocations: 3.938 kB / 296.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004733, allocations: 0 / 296.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.004747, allocations: 0 / 296.2 MB, free: 2.738 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004139/0.005161, allocations: 341 kB / 296.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.005189, allocations: 8.031 kB / 296.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.005218, allocations: 8.938 kB / 296.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.005366, allocations: 158.5 kB / 296.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.005379, allocations: 384 / 296.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.005394, allocations: 4.375 kB / 296.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.914e-05/0.005494, allocations: 61.77 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.005502, allocations: 3.938 kB / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.005508, allocations: 0 / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.005513, allocations: 0 / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.547e-05/0.005538, allocations: 15.98 kB / 296.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.005722, allocations: 169.8 kB / 296.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.951e-05/0.005812, allocations: 89.34 kB / 297 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.00583, allocations: 16.84 kB / 297 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.005841, allocations: 0 / 297 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.488e-05/0.005936, allocations: 70.11 kB / 297.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.005937, allocations: 0 / 297.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002647/0.006201, allocations: 109.6 kB / 297.2 MB, free: 1.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.006229, allocations: 55.41 kB / 297.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.912e-05/0.006328, allocations: 184.8 kB / 297.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.006341, allocations: 25.7 kB / 297.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.00637, allocations: 92.11 kB / 297.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.006398, allocations: 39.66 kB / 297.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.00643, allocations: 29.64 kB / 297.6 MB, free: 1.137 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.24e-05/0.006502, allocations: 322.8 kB / 297.9 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.545e-05/0.006518, allocations: 10.81 kB / 297.9 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.339e-05/0.006541, allocations: 25.7 kB / 298 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.683e-05/0.006578, allocations: 36.52 kB / 298 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.006579, allocations: 8 kB / 298 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.242e-05/0.006651, allocations: 84.42 kB / 298.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.006662, allocations: 4 kB / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.006667, allocations: 0 / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/0.006674, allocations: 0 / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.006744, allocations: 19.94 kB / 298.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.006746, allocations: 0 / 298.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.006772, allocations: 7.984 kB / 298.1 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.006777, allocations: 0 / 298.1 MB, free: 0.5977 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.867e-05/0.006835, allocations: 120.7 kB / 298.2 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.006848, allocations: 15.92 kB / 298.3 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.213e-05/0.00694, allocations: 75.08 kB / 298.3 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006942, allocations: 0 / 298.3 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.006943, allocations: 0 / 298.3 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.006946, allocations: 0 / 298.3 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.007141, allocations: 291.4 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007142, allocations: 0 / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.972e-05/0.007172, allocations: 16 kB / 298.6 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.007183, allocations: 15.89 kB / 298.6 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.007185, allocations: 4.406 kB / 298.7 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.007192, allocations: 7.984 kB / 298.7 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.007194, allocations: 4 kB / 298.7 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007195, allocations: 0 / 298.7 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.0073, allocations: 215 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.007315, allocations: 8 kB / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.922e-05/0.007355, allocations: 3.984 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.129e-05/0.007376, allocations: 4 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.007386, allocations: 4 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.046e-05/0.007426, allocations: 51.64 kB / 298.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007426, allocations: 4 kB / 298.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001417/0.007568, allocations: 35.86 kB / 299 MB, free: 15.67 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001362/0.00893, allocations: 0.6374 MB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.863e-05/0.009019, allocations: 40.77 kB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.009026, allocations: 4 kB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.11e-05/0.009058, allocations: 36.92 kB / 299.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.009243, allocations: 39.84 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.009692, allocations: 235.7 kB / 300 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.102e-05/0.009733, allocations: 71.33 kB / 300 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.424e-05/0.009767, allocations: 17.05 kB / 300.1 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.009832, allocations: 67.36 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.009832, allocations: 0 / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of Templates: time 0.003517/0.01335, allocations: 2.044 MB / 302.2 MB, free: 12.82 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.0334522193297744]