Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_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.001372/0.001372, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001047/0.001047, allocations: 174.3 kB / 24.91 MB, free: 8.773 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.066 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.257/0.257, allocations: 32.8 MB / 294.6 MB, free: 1.184 MB / 266.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.922e-05, allocations: 3.922 kB / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002434/0.002453, allocations: 1.774 MB / 325.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008722/0.003325, allocations: 0.5879 MB / 325.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.616e-05/0.003392, allocations: 0 / 325.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.003613, allocations: 31.66 kB / 325.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.003839, allocations: 79.56 kB / 325.8 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.004125, allocations: 183.5 kB / 325.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.004264, allocations: 99.69 kB / 326 MB, free: 6.891 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.165e-05/0.004346, allocations: 12.59 kB / 326 MB, free: 6.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.771e-05/0.004424, allocations: 51.84 kB / 326.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.665e-05/0.00449, allocations: 39.89 kB / 326.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.004504, allocations: 4 kB / 326.1 MB, free: 6.785 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.004649, allocations: 111.7 kB / 326.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.004695, allocations: 23.92 kB / 326.3 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.004719, allocations: 19.92 kB / 326.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.004914, allocations: 159.5 kB / 326.4 MB, free: 6.477 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004916, allocations: 3.938 kB / 326.5 MB, free: 6.473 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004916, allocations: 0 / 326.5 MB, free: 6.473 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.00492, allocations: 0 / 326.5 MB, free: 6.473 MB / 298.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.0003406/0.005261, allocations: 329.4 kB / 326.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.005288, allocations: 12.03 kB / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/0.005317, allocations: 4.938 kB / 326.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.005471, allocations: 142.8 kB / 326.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.005478, allocations: 384 / 326.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.005497, allocations: 8.375 kB / 326.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.005626, allocations: 118 kB / 327.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.005635, allocations: 3.984 kB / 327.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.005643, allocations: 4 kB / 327.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.005647, allocations: 0 / 327.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.379e-05/0.005671, allocations: 4 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.005928, allocations: 199 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.896e-05/0.005997, allocations: 41.34 kB / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.006016, allocations: 12.98 kB / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.006033, allocations: 11.92 kB / 327.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.006053, allocations: 30.56 kB / 327.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.006053, allocations: 0 / 327.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003604/0.006414, allocations: 153.3 kB / 327.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.006444, allocations: 77.11 kB / 327.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.006533, allocations: 157.9 kB / 327.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.006544, allocations: 25.7 kB / 327.8 MB, free: 5.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.006574, allocations: 88.12 kB / 327.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.006595, allocations: 31.73 kB / 327.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.006631, allocations: 25.7 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.292e-05/0.006704, allocations: 326.8 kB / 328.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.976e-05/0.006723, allocations: 7.984 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.006761, allocations: 51.41 kB / 328.3 MB, free: 4.469 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/0.006809, allocations: 43.81 kB / 328.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.006809, allocations: 4.031 kB / 328.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.419e-05/0.006883, allocations: 61.67 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.006893, allocations: 6.031 kB / 328.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.006897, allocations: 4 kB / 328.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.006906, allocations: 3.938 kB / 328.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.348e-05/0.00699, allocations: 28.34 kB / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.736e-06/0.006992, allocations: 0 / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.78e-05/0.00703, allocations: 11.98 kB / 328.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.007039, allocations: 8 kB / 328.4 MB, free: 4.293 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.224e-05/0.007091, allocations: 120.6 kB / 328.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.007112, allocations: 8 kB / 328.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.007213, allocations: 82.36 kB / 328.6 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.007216, allocations: 4 kB / 328.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.007217, allocations: 0 / 328.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.00722, allocations: 0 / 328.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.007462, allocations: 298.5 kB / 328.9 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.007463, allocations: 0 / 328.9 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.007522, allocations: 27.92 kB / 329 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.007524, allocations: 4 kB / 329 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.00753, allocations: 7.938 kB / 329 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007531, allocations: 4 kB / 329 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.007532, allocations: 0 / 329 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.548e-05/0.007628, allocations: 159.5 kB / 329.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.007638, allocations: 3.953 kB / 329.1 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.007651, allocations: 8 kB / 329.2 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.183e-05/0.007703, allocations: 11.98 kB / 329.2 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.00774, allocations: 11.92 kB / 329.2 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.007744, allocations: 4 kB / 329.2 MB, free: 3.496 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.661e-05/0.007781, allocations: 43.25 kB / 329.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007781, allocations: 0 / 329.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.00795, allocations: 55.8 kB / 329.3 MB, free: 3.398 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.001203/0.009153, allocations: 0.637 MB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.939e-05/0.009252, allocations: 36.78 kB / 330 MB, free: 3.039 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.009256, allocations: 4 kB / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.088e-05/0.009317, allocations: 16.86 kB / 330 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.009574, allocations: 43.09 kB / 330 MB, free: 2.977 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.009869, allocations: 216.3 kB / 330.2 MB, free: 2.734 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.412e-05/0.009903, allocations: 67.34 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.152e-05/0.009955, allocations: 20.47 kB / 330.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.946e-05/0.01003, allocations: 71.36 kB / 330.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01003, allocations: 0 / 330.4 MB, free: 2.559 MB / 298.7 MB Notification: Performance of Templates: time 0.004036/0.01407, allocations: 2.817 MB / 333.2 MB, free: 15.76 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_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.9410571907646954]