Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.000877/0.000877, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001975, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0006842/0.0006842, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008719/0.001556, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8926/0.8926, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1931/1.086, allocations: 49.5 MB / 220.5 MB, free: 5.266 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1299/0.1299, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02732/0.1572, allocations: 12.29 MB / 265.9 MB, free: 7.828 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_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|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.063e-05, allocations: 6.25 kB / 267.3 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002376/0.002397, allocations: 1.781 MB / 269.1 MB, free: 4.645 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.003583, allocations: 0.8269 MB / 269.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.162e-05/0.003665, allocations: 3.938 kB / 269.9 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.003924, allocations: 39.77 kB / 269.9 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.004108, allocations: 55.7 kB / 270 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.004349, allocations: 83.7 kB / 270.1 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.004516, allocations: 99.64 kB / 270.2 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.156e-05/0.004598, allocations: 12.16 kB / 270.2 MB, free: 3.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.004726, allocations: 75.83 kB / 270.3 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.742e-05/0.004814, allocations: 35.83 kB / 270.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.004831, allocations: 4 kB / 270.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.004972, allocations: 63.91 kB / 270.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.005015, allocations: 19.88 kB / 270.4 MB, free: 3.324 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.005045, allocations: 12 kB / 270.4 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.005234, allocations: 115.6 kB / 270.5 MB, free: 3.199 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.088e-05/0.005255, allocations: 0 / 270.5 MB, free: 3.199 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.005256, allocations: 0 / 270.5 MB, free: 3.199 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.306e-05/0.005279, allocations: 0 / 270.5 MB, free: 3.199 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000537/0.005816, allocations: 327.9 kB / 270.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.005852, allocations: 11.89 kB / 270.8 MB, free: 2.844 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.005891, allocations: 8.938 kB / 270.9 MB, free: 2.836 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.006066, allocations: 141.6 kB / 271 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.006084, allocations: 8.359 kB / 271 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.006103, allocations: 4.375 kB / 271 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.006257, allocations: 117.1 kB / 271.1 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.006267, allocations: 3.938 kB / 271.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.006275, allocations: 0 / 271.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.00628, allocations: 0 / 271.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.942e-05/0.00632, allocations: 18.75 kB / 271.1 MB, free: 2.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/0.006561, allocations: 174 kB / 271.3 MB, free: 2.312 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.006677, allocations: 85.3 kB / 271.4 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.795e-05/0.006705, allocations: 12.84 kB / 271.4 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.006727, allocations: 4 kB / 271.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.00683, allocations: 78.2 kB / 271.5 MB, free: 2.109 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.006831, allocations: 0 / 271.5 MB, free: 2.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003018/0.007133, allocations: 113.5 kB / 271.6 MB, free: 1.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.007161, allocations: 55.41 kB / 271.7 MB, free: 1.926 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.007264, allocations: 156.2 kB / 271.8 MB, free: 1.758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.007281, allocations: 29.7 kB / 271.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.007313, allocations: 88 kB / 271.9 MB, free: 1.633 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.007345, allocations: 31.72 kB / 271.9 MB, free: 1.602 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.007383, allocations: 29.7 kB / 272 MB, free: 1.566 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.303e-05/0.007466, allocations: 322.8 kB / 272.3 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.007487, allocations: 18.81 kB / 272.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.695e-05/0.007524, allocations: 48.28 kB / 272.4 MB, free: 1.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.211e-05/0.007576, allocations: 52.44 kB / 272.4 MB, free: 1.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.007577, allocations: 0 / 272.4 MB, free: 1.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.63e-05/0.007673, allocations: 76.41 kB / 272.5 MB, free: 1.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.007685, allocations: 4 kB / 272.5 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.007689, allocations: 0 / 272.5 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.007698, allocations: 4 kB / 272.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.007773, allocations: 19.98 kB / 272.5 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.007778, allocations: 12 kB / 272.5 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.507e-05/0.007813, allocations: 8 kB / 272.5 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.007822, allocations: 0 / 272.5 MB, free: 0.9727 MB / 266.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 (11): * Single equations (assignments): 11 * 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.469e-05/0.007887, allocations: 124.6 kB / 272.7 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.007903, allocations: 11.94 kB / 272.7 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.008014, allocations: 78.38 kB / 272.7 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.008017, allocations: 4 kB / 272.7 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.008019, allocations: 0 / 272.7 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.008022, allocations: 0 / 272.7 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.008265, allocations: 303.4 kB / 273 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.008267, allocations: 0 / 273 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.008303, allocations: 12 kB / 273.1 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.008316, allocations: 11.94 kB / 273.1 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.008318, allocations: 0 / 273.1 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.008324, allocations: 0 / 273.1 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.008327, allocations: 4 kB / 273.1 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008328, allocations: 0 / 273.1 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.008444, allocations: 222.9 kB / 273.3 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.008465, allocations: 7.984 kB / 273.3 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.907e-05/0.008524, allocations: 32 / 273.3 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.008553, allocations: 15.98 kB / 273.3 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.008563, allocations: 4 kB / 273.3 MB, free: 132 kB / 266.7 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.008601, allocations: 35.66 kB / 273.3 MB, free: 92 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008601, allocations: 0 / 273.3 MB, free: 92 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.008817, allocations: 39.86 kB / 273.4 MB, free: 52 kB / 266.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 (10): * Single equations (assignments): 8 * 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.001777/0.01059, allocations: 0.6999 MB / 274.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.01071, allocations: 48.77 kB / 274.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.01072, allocations: 4.062 kB / 274.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.01076, allocations: 28.78 kB / 274.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.01098, allocations: 47.91 kB / 274.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004942/0.01147, allocations: 206.1 kB / 274.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.96e-05/0.01152, allocations: 67.12 kB / 274.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.098e-05/0.01157, allocations: 16.95 kB / 274.5 MB, free: 14.87 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.472e-05/0.01166, allocations: 79.42 kB / 274.6 MB, free: 14.79 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01166, allocations: 0 / 274.6 MB, free: 14.79 MB / 282.7 MB Notification: Performance of Templates: time 0.004737/0.01639, allocations: 2.43 MB / 277 MB, free: 12.36 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.7366407243534923]