Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001025/0.001025, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001284/0.001284, allocations: 165.4 kB / 24.99 MB, free: 8.797 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.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2627/0.2627, allocations: 34.26 MB / 296 MB, free: 0.6641 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 378.1 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.451e-05, allocations: 2.312 kB / 378.1 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002529/0.002553, allocations: 1.715 MB / 379.8 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.003777, allocations: 0.9858 MB / 380.8 MB, free: 172 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.786e-05/0.003864, allocations: 0 / 380.8 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.004158, allocations: 79.59 kB / 380.9 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003206/0.004479, allocations: 107.5 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.004675, allocations: 67.69 kB / 381.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.004859, allocations: 115.5 kB / 381.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.888e-05/0.004898, allocations: 4.234 kB / 381.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.071e-05/0.004989, allocations: 55.88 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.854e-05/0.005077, allocations: 47.83 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.005092, allocations: 4 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.09e-05/0.005173, allocations: 39.84 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.005223, allocations: 23.92 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.00526, allocations: 11.94 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.005428, allocations: 95.66 kB / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.005431, allocations: 0 / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.005432, allocations: 0 / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.005437, allocations: 0 / 381.4 MB, free: 15.53 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000451/0.005889, allocations: 435.9 kB / 381.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.005924, allocations: 8.031 kB / 381.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.535e-05/0.005979, allocations: 20.83 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.006156, allocations: 153.1 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.006176, allocations: 8.359 kB / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.006189, allocations: 4.375 kB / 382.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.006308, allocations: 54.95 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.006316, allocations: 3.938 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.006326, allocations: 3.984 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.006335, allocations: 0 / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.549e-05/0.00637, allocations: 4 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.006524, allocations: 140.7 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.006628, allocations: 51.05 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.006657, allocations: 19.67 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.006669, allocations: 0 / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.006769, allocations: 65.05 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.00677, allocations: 0 / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001871/0.006957, allocations: 97.45 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.006988, allocations: 51.41 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.007118, allocations: 226.4 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.007135, allocations: 33.7 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.007184, allocations: 146.9 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.007216, allocations: 19.84 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.007248, allocations: 31.36 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.007363, allocations: 0.4923 MB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.652e-05/0.007389, allocations: 8 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.04e-05/0.00742, allocations: 27.36 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.896e-05/0.007469, allocations: 47.56 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.00747, allocations: 0 / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.476e-05/0.007565, allocations: 69.62 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.007581, allocations: 8 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.007587, allocations: 3.938 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.007598, allocations: 4.031 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.898e-05/0.007667, allocations: 19.86 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.007674, allocations: 4 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.114e-05/0.007705, allocations: 3.953 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.007711, allocations: 4 kB / 383.7 MB, free: 13.07 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 (7): * Single equations (assignments): 7 * 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.372e-05/0.007785, allocations: 156.6 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.0078, allocations: 11.95 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.00793, allocations: 90.91 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007933, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.007936, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.00794, allocations: 4 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.439e-05/0.008034, allocations: 148.5 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.008035, allocations: 0 / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.118e-05/0.008056, allocations: 4 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.008058, allocations: 0 / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.008066, allocations: 4 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.00807, allocations: 7.922 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008071, allocations: 0 / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.008179, allocations: 124.5 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.008196, allocations: 7.953 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.008214, allocations: 0 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.987e-05/0.008244, allocations: 15.92 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.008277, allocations: 4 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.008289, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.28e-05/0.008372, allocations: 172.1 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008372, allocations: 3.938 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001656/0.008537, allocations: 19.94 kB / 384.4 MB, free: 12.24 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: 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 (6): * Single equations (assignments): 4 * 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.0008449/0.009382, allocations: 379.2 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.009493, allocations: 35.67 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.009497, allocations: 4 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.215e-05/0.009529, allocations: 23.61 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.00972, allocations: 38.58 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.01005, allocations: 202.2 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.611e-05/0.01009, allocations: 67.33 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.057e-05/0.01012, allocations: 8.5 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.01015, allocations: 12.5 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01015, allocations: 0 / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of Templates: time 0.003407/0.01356, allocations: 1.635 MB / 386.8 MB, free: 9.953 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.3677676238585263]