Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001075/0.001075, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001159/0.001159, allocations: 168.4 kB / 25.61 MB, free: 8.922 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.012/1.012, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1416/0.1416, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 0 / 377.4 MB, free: 25.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.397e-05/3.705e-05, allocations: 10.14 kB / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003196/0.003233, allocations: 1.743 MB / 379.1 MB, free: 23.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.004641, allocations: 1.024 MB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.004774, allocations: 3.938 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.005141, allocations: 31.78 kB / 380.2 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.005503, allocations: 95.48 kB / 380.3 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.005785, allocations: 79.59 kB / 380.3 MB, free: 22.51 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.00599, allocations: 115.6 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.006111, allocations: 8 kB / 380.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.006226, allocations: 63.81 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.006326, allocations: 31.91 kB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.006348, allocations: 8 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.006577, allocations: 111.8 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.671e-05/0.006643, allocations: 23.84 kB / 380.7 MB, free: 22.15 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.006689, allocations: 23.92 kB / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.006965, allocations: 163.5 kB / 380.9 MB, free: 21.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.006969, allocations: 0 / 380.9 MB, free: 21.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.00697, allocations: 0 / 380.9 MB, free: 21.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.006978, allocations: 0 / 380.9 MB, free: 21.97 MB / 314.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.0004778/0.007456, allocations: 467.6 kB / 381.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.007497, allocations: 19.98 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.007549, allocations: 8.891 kB / 381.4 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.007711, allocations: 149.9 kB / 381.5 MB, free: 21.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.00773, allocations: 4.359 kB / 381.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.007747, allocations: 4.375 kB / 381.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.00788, allocations: 108 kB / 381.6 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.007896, allocations: 3.938 kB / 381.6 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.007906, allocations: 4 kB / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.007913, allocations: 0 / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.795e-05/0.007941, allocations: 15.98 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.008185, allocations: 252.3 kB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.008291, allocations: 63.08 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.008312, allocations: 15.69 kB / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.008324, allocations: 0 / 382 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.279e-05/0.008417, allocations: 77.09 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.008418, allocations: 3.984 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003411/0.008759, allocations: 145.4 kB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.008789, allocations: 89.09 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.008883, allocations: 206.9 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.008894, allocations: 37.7 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.008925, allocations: 150.8 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.008952, allocations: 27.73 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.008993, allocations: 35.36 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.777e-05/0.00905, allocations: 0.4962 MB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.009069, allocations: 8 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-05/0.009107, allocations: 76.72 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.131e-05/0.009158, allocations: 47.31 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.00916, allocations: 3.938 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000114/0.009274, allocations: 97.61 kB / 383.4 MB, free: 19.15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.009289, allocations: 8 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.009295, allocations: 0 / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.009306, allocations: 7.875 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.749e-05/0.009394, allocations: 19.98 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.009398, allocations: 4 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.642e-05/0.009434, allocations: 4 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.009442, allocations: 4.469 kB / 383.5 MB, free: 19.1 MB / 314.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 (13): * Single equations (assignments): 13 * 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 6.398e-05/0.009506, allocations: 164.5 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.009523, allocations: 19.94 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.009663, allocations: 114.3 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.009664, allocations: 0 / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.009666, allocations: 0 / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.009671, allocations: 3.984 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.009959, allocations: 381.5 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.009962, allocations: 0 / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/0.009998, allocations: 12 kB / 384.2 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01, allocations: 0 / 384.2 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.01001, allocations: 4 kB / 384.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.01001, allocations: 11.95 kB / 384.2 MB, free: 18.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01001, allocations: 4 kB / 384.2 MB, free: 18.35 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.01013, allocations: 266.2 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.01015, allocations: 7.953 kB / 384.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.01017, allocations: 0 / 384.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.219e-05/0.01023, allocations: 11.98 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.01026, allocations: 4 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.01028, allocations: 3.984 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.469e-05/0.01033, allocations: 162.4 kB / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01033, allocations: 0 / 384.6 MB, free: 17.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002467/0.01058, allocations: 59.8 kB / 384.7 MB, free: 17.82 MB / 314.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 (11): * Single equations (assignments): 9 * 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.001313/0.01189, allocations: 0.5367 MB / 385.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.01203, allocations: 59.59 kB / 385.3 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.01203, allocations: 0 / 385.3 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.499e-05/0.01207, allocations: 35.61 kB / 385.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.01229, allocations: 31.97 kB / 385.4 MB, free: 17.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.0126, allocations: 223.9 kB / 385.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.203e-05/0.01263, allocations: 67.2 kB / 385.6 MB, free: 17.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.069e-05/0.01268, allocations: 20.62 kB / 385.7 MB, free: 17.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/0.01276, allocations: 102.2 kB / 385.8 MB, free: 16.91 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01276, allocations: 0 / 385.8 MB, free: 16.91 MB / 314.7 MB Notification: Performance of Templates: time 0.004474/0.01723, allocations: 2.975 MB / 388.7 MB, free: 13.97 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.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.3635052577592432]