Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001187/0.001187, 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.001379/0.001379, allocations: 170.4 kB / 25.61 MB, free: 8.891 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 0.9804/0.9804, allocations: 177.1 MB / 206.1 MB, free: 4.5 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.165/0.165, allocations: 34.26 MB / 296.8 MB, free: 13.93 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.Test66_usertab,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.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 379.4 MB, free: 23.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.339e-05, allocations: 6.828 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002099/0.002122, allocations: 1.746 MB / 381.1 MB, free: 21.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.003219, allocations: 1.017 MB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.003295, allocations: 0 / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.00359, allocations: 39.66 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.003883, allocations: 91.53 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.004085, allocations: 87.59 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.004236, allocations: 111.6 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.842e-05/0.004324, allocations: 4 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.524e-05/0.004409, allocations: 71.75 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.917e-05/0.004488, allocations: 35.89 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.004505, allocations: 4 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.004652, allocations: 103.8 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.523e-05/0.004697, allocations: 19.92 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.00473, allocations: 23.92 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.004938, allocations: 171.4 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.004941, allocations: 3.984 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004942, allocations: 0 / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.686e-06/0.004945, allocations: 0 / 382.9 MB, free: 19.79 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.0003524/0.005298, allocations: 459.6 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.00533, allocations: 12.03 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.00537, allocations: 12.89 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.005503, allocations: 143.3 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.005518, allocations: 12.31 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.005535, allocations: 4.375 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.005645, allocations: 112 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.005654, allocations: 3.938 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.005661, allocations: 0 / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.005665, allocations: 0 / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.376e-05/0.005689, allocations: 11.98 kB / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.005881, allocations: 260.3 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.457e-05/0.005976, allocations: 59.03 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.005995, allocations: 15.69 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.006005, allocations: 0 / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.082e-05/0.006086, allocations: 76.94 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.006087, allocations: 0 / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003044/0.006392, allocations: 153.6 kB / 384.2 MB, free: 18.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.006416, allocations: 77.11 kB / 384.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.652e-05/0.006503, allocations: 221.8 kB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.006511, allocations: 25.7 kB / 384.5 MB, free: 17.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.006542, allocations: 146.8 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.006566, allocations: 31.73 kB / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.006601, allocations: 39.34 kB / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.006645, allocations: 0.4923 MB / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.006662, allocations: 8 kB / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.498e-05/0.006697, allocations: 76.72 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.762e-05/0.006744, allocations: 55.19 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.006746, allocations: 3.969 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001006/0.006846, allocations: 101.5 kB / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.006858, allocations: 6.188 kB / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.006863, allocations: 0 / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.006872, allocations: 4 kB / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.006945, allocations: 23.98 kB / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.006948, allocations: 0 / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.211e-05/0.00698, allocations: 4 kB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.006986, allocations: 0 / 385.5 MB, free: 16.93 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 5.212e-05/0.007038, allocations: 172.4 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.007055, allocations: 19.94 kB / 385.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.007175, allocations: 110.3 kB / 385.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.007177, allocations: 4 kB / 385.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.007179, allocations: 0 / 385.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.007182, allocations: 0 / 385.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.007404, allocations: 381.5 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.007406, allocations: 0 / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.007435, allocations: 16 kB / 386.2 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.007438, allocations: 4 kB / 386.2 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.007444, allocations: 12.02 kB / 386.2 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.007446, allocations: 0 / 386.2 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.007448, allocations: 3.984 kB / 386.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.007555, allocations: 267.3 kB / 386.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.007566, allocations: 7.953 kB / 386.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.007583, allocations: 4 kB / 386.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.297e-05/0.007626, allocations: 4 kB / 386.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.00765, allocations: 7.984 kB / 386.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.007664, allocations: 11.98 kB / 386.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.365e-05/0.007708, allocations: 154.4 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007708, allocations: 4 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.007949, allocations: 59.8 kB / 386.7 MB, free: 15.64 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.001128/0.009077, allocations: 0.5392 MB / 387.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.00918, allocations: 51.59 kB / 387.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.009182, allocations: 0 / 387.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.22e-05/0.009214, allocations: 43.59 kB / 387.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.009437, allocations: 29.75 kB / 387.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.009718, allocations: 227.9 kB / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.824e-05/0.009746, allocations: 67.2 kB / 387.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.249e-05/0.009799, allocations: 20.62 kB / 387.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.415e-05/0.009873, allocations: 98.17 kB / 387.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.009873, allocations: 0 / 387.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of Templates: time 0.004021/0.01389, allocations: 2.967 MB / 390.7 MB, free: 11.78 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1810456910170615]