Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.001112/0.001112, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001122/0.001122, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 0.973/0.973, allocations: 177.1 MB / 205 MB, free: 5.289 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.2651/0.2651, allocations: 34.26 MB / 295.7 MB, free: 0.7109 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.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.798e-05, allocations: 2.312 kB / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002194/0.002212, allocations: 1.758 MB / 379.9 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.003487, allocations: 1.017 MB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.039e-05/0.003558, allocations: 0 / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.003854, allocations: 39.7 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.004136, allocations: 99.47 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.004315, allocations: 79.66 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.004465, allocations: 115.6 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.971e-05/0.004544, allocations: 4 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.004621, allocations: 59.88 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.429e-05/0.004696, allocations: 23.86 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.00471, allocations: 4 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.611e-05/0.004786, allocations: 51.86 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.004832, allocations: 19.91 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.004869, allocations: 15.94 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.005034, allocations: 103.6 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005036, allocations: 0 / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.005037, allocations: 3.938 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.005041, allocations: 0 / 381.5 MB, free: 15.18 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004383/0.005479, allocations: 447.9 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.00551, allocations: 12.03 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.005556, allocations: 16.84 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.005716, allocations: 161 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.005732, allocations: 384 / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.005751, allocations: 4.375 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.005863, allocations: 58.94 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.005875, allocations: 7.938 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.005885, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.005893, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.571e-05/0.005929, allocations: 15.98 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.006199, allocations: 287.7 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.802e-05/0.006297, allocations: 59.17 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.006327, allocations: 15.62 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.006337, allocations: 4 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.94e-05/0.006426, allocations: 69.03 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.006427, allocations: 0 / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003651/0.006793, allocations: 157.4 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.006825, allocations: 59.33 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.006954, allocations: 238.3 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.006967, allocations: 33.7 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.00702, allocations: 146.9 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.007046, allocations: 27.78 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.00708, allocations: 31.31 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.007201, allocations: 0.4923 MB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.007225, allocations: 15.98 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.693e-05/0.007262, allocations: 35.36 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.592e-05/0.007318, allocations: 55.31 kB / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.007319, allocations: 0 / 383.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001035/0.007423, allocations: 93.58 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.007437, allocations: 4 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.007441, allocations: 0 / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.007456, allocations: 4 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/0.007528, allocations: 15.94 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.007533, allocations: 0 / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.095e-05/0.007564, allocations: 11.98 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.00757, allocations: 0 / 384 MB, free: 12.41 MB / 362.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 7.109e-05/0.007641, allocations: 164.5 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.007657, allocations: 15.98 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.007807, allocations: 107.1 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.007809, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.007813, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007816, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.008099, allocations: 392.9 kB / 384.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.008103, allocations: 4 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-05/0.008132, allocations: 11.98 kB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.008135, allocations: 0 / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.008144, allocations: 8.375 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.008146, allocations: 4.031 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.008148, allocations: 4 kB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.008295, allocations: 255.4 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.008306, allocations: 11.91 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.008321, allocations: 0 / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.228e-05/0.008364, allocations: 11.98 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.008393, allocations: 7.938 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.008406, allocations: 7.984 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.092e-05/0.008487, allocations: 168.1 kB / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008487, allocations: 0 / 385.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001716/0.008659, allocations: 27.94 kB / 385.2 MB, free: 11.15 MB / 362.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.0008906/0.00955, allocations: 451.6 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001273/0.009677, allocations: 51.59 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.009678, allocations: 0 / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.009716, allocations: 35.61 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.009937, allocations: 37.69 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.01026, allocations: 218.1 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.909e-05/0.0103, allocations: 63.34 kB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.337e-05/0.01033, allocations: 12.97 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.01036, allocations: 20.5 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 4e-07/0.01036, allocations: 0 / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Templates: time 0.003763/0.01413, allocations: 2.005 MB / 388.1 MB, free: 8.402 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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.2641273587942123]