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.0009445/0.0009445, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001126/0.001126, allocations: 169 kB / 24.91 MB, free: 8.723 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.9231/0.9231, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1303/0.1303, allocations: 32.8 MB / 294.6 MB, free: 15.45 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 2.465e-06/2.465e-06, allocations: 0 / 323.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/3.066e-05, allocations: 6.25 kB / 323.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003805/0.003836, allocations: 1.772 MB / 325.1 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.005957, allocations: 1.017 MB / 326.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.653e-05/0.006054, allocations: 8 kB / 326.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.006416, allocations: 39.7 kB / 326.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000441/0.006857, allocations: 95.48 kB / 326.2 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.007124, allocations: 83.59 kB / 326.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.007364, allocations: 111.6 kB / 326.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.007478, allocations: 15.97 kB / 326.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.007627, allocations: 55.83 kB / 326.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.007813, allocations: 35.89 kB / 326.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.007844, allocations: 4 kB / 326.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/0.008112, allocations: 119.7 kB / 326.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.546e-05/0.008188, allocations: 19.94 kB / 326.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.802e-05/0.008246, allocations: 27.91 kB / 326.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.008606, allocations: 163.5 kB / 326.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.00861, allocations: 0 / 326.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.008611, allocations: 0 / 326.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.008615, allocations: 3.938 kB / 326.9 MB, free: 15.13 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.0004238/0.009039, allocations: 328 kB / 327.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.009075, allocations: 11.98 kB / 327.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.009109, allocations: 12.92 kB / 327.2 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.009267, allocations: 140.5 kB / 327.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.009281, allocations: 384 / 327.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.009303, allocations: 12.38 kB / 327.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.00943, allocations: 105.1 kB / 327.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.009439, allocations: 3.938 kB / 327.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.009446, allocations: 4 kB / 327.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.00945, allocations: 0 / 327.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.509e-05/0.009476, allocations: 10.83 kB / 327.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.009695, allocations: 169.9 kB / 327.7 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.009807, allocations: 96.05 kB / 327.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.009833, allocations: 20.78 kB / 327.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.009845, allocations: 4.125 kB / 327.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.893e-05/0.009944, allocations: 66.16 kB / 327.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.009946, allocations: 0 / 327.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003605/0.01031, allocations: 129.5 kB / 328 MB, free: 13.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.01035, allocations: 77.11 kB / 328 MB, free: 13.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.01047, allocations: 164.3 kB / 328.2 MB, free: 13.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.01049, allocations: 29.7 kB / 328.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.01053, allocations: 92.06 kB / 328.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.01056, allocations: 35.72 kB / 328.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.0106, allocations: 29.72 kB / 328.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.691e-05/0.01067, allocations: 326.8 kB / 328.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.0107, allocations: 14.81 kB / 328.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.057e-05/0.01074, allocations: 56.27 kB / 328.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.051e-05/0.01079, allocations: 47.34 kB / 328.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01079, allocations: 0 / 328.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.617e-05/0.01088, allocations: 92.3 kB / 328.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.0109, allocations: 4 kB / 328.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.0109, allocations: 4 kB / 328.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.01091, allocations: 4.062 kB / 328.9 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.598e-05/0.01098, allocations: 23.92 kB / 328.9 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.01098, allocations: 4 kB / 328.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.946e-05/0.01101, allocations: 0 / 328.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.01102, allocations: 4 kB / 329 MB, free: 12.84 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.869e-05/0.01109, allocations: 116.7 kB / 329.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.01111, allocations: 19.92 kB / 329.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.01121, allocations: 78.38 kB / 329.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01121, allocations: 0 / 329.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.01122, allocations: 0 / 329.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.01122, allocations: 4 kB / 329.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.01148, allocations: 367.2 kB / 329.5 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01148, allocations: 0 / 329.5 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.01151, allocations: 12 kB / 329.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01152, allocations: 0 / 329.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.01152, allocations: 3.984 kB / 329.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01153, allocations: 3.938 kB / 329.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01153, allocations: 4 kB / 329.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.01164, allocations: 219.2 kB / 329.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.01165, allocations: 15.97 kB / 329.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.01167, allocations: 0 / 329.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.185e-05/0.01171, allocations: 8 kB / 329.8 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.01174, allocations: 7.984 kB / 329.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.01175, allocations: 4 kB / 329.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.937e-05/0.01179, allocations: 46.89 kB / 329.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01179, allocations: 0 / 329.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001967/0.01198, allocations: 55.86 kB / 329.9 MB, free: 11.83 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.001506/0.01349, allocations: 0.7207 MB / 330.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.01362, allocations: 48.77 kB / 330.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.01362, allocations: 0 / 330.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.271e-05/0.01365, allocations: 28.8 kB / 330.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.01383, allocations: 36.09 kB / 330.7 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.01414, allocations: 207.1 kB / 330.9 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.041e-05/0.01418, allocations: 67.34 kB / 331 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.047e-05/0.01423, allocations: 24.62 kB / 331 MB, free: 10.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.048e-05/0.01431, allocations: 79.34 kB / 331.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01431, allocations: 0 / 331.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of Templates: time 0.004433/0.01874, allocations: 2.943 MB / 334 MB, free: 7.984 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.056232381146401]