Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.0009554/0.0009554, allocations: 80.8 kB / 21.49 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.001611/0.001611, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.9883/0.9883, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2581/0.2581, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.884e-05, allocations: 5.859 kB / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002835/0.002854, allocations: 1.69 MB / 325 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00094/0.003794, allocations: 0.5569 MB / 325.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.003852, allocations: 0 / 325.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.004148, allocations: 75.7 kB / 325.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.004406, allocations: 103.5 kB / 325.7 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.00466, allocations: 115.6 kB / 325.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.004806, allocations: 79.81 kB / 325.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.685e-05/0.004893, allocations: 19.97 kB / 325.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.832e-05/0.004971, allocations: 51.83 kB / 326 MB, free: 6.934 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.005072, allocations: 51.88 kB / 326 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.005085, allocations: 0 / 326 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.962e-05/0.005175, allocations: 47.92 kB / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.005219, allocations: 23.86 kB / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.005249, allocations: 16.55 kB / 326.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.005408, allocations: 87.67 kB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.00541, allocations: 0 / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00541, allocations: 0 / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.005414, allocations: 0 / 326.2 MB, free: 6.711 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.000326/0.00574, allocations: 325.3 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.005771, allocations: 8.031 kB / 326.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.005802, allocations: 8.938 kB / 326.5 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.005948, allocations: 143.4 kB / 326.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.005958, allocations: 4.375 kB / 326.7 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.005982, allocations: 4.375 kB / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.574e-05/0.006077, allocations: 58.94 kB / 326.7 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.006087, allocations: 192 / 326.7 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.006097, allocations: 8.125 kB / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.006102, allocations: 0 / 326.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.985e-05/0.006132, allocations: 19.92 kB / 326.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.006369, allocations: 163.1 kB / 326.9 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.678e-05/0.006426, allocations: 37.45 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.006443, allocations: 8.859 kB / 327 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.006457, allocations: 0 / 327 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.006481, allocations: 42.44 kB / 327 MB, free: 5.801 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.006482, allocations: 0 / 327 MB, free: 5.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004839/0.006966, allocations: 141.5 kB / 327.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.006999, allocations: 59.41 kB / 327.2 MB, free: 5.586 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.007134, allocations: 180.8 kB / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.007149, allocations: 29.7 kB / 327.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.007186, allocations: 96.81 kB / 327.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.007216, allocations: 27.73 kB / 327.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.007253, allocations: 21.7 kB / 327.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.00735, allocations: 326.8 kB / 327.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.007368, allocations: 8 kB / 327.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.539e-05/0.007383, allocations: 4 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.024e-05/0.007433, allocations: 35.59 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.007434, allocations: 3.938 kB / 327.9 MB, free: 4.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.46e-05/0.007519, allocations: 61.62 kB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.007532, allocations: 8 kB / 328 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.007536, allocations: 0 / 328 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.007548, allocations: 0 / 328 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.089e-05/0.007618, allocations: 15.98 kB / 328 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.007621, allocations: 0 / 328 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.529e-05/0.007646, allocations: 4 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.007655, allocations: 3.984 kB / 328 MB, free: 4.727 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 (8): * Single equations (assignments): 8 * 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 7.269e-05/0.007728, allocations: 124.6 kB / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.007756, allocations: 11.94 kB / 328.2 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.007886, allocations: 79.42 kB / 328.2 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.00789, allocations: 4.422 kB / 328.2 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.007891, allocations: 0 / 328.2 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.007894, allocations: 0 / 328.2 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.00819, allocations: 247.5 kB / 328.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008191, allocations: 0 / 328.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.177e-05/0.008243, allocations: 15.98 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.008247, allocations: 7.984 kB / 328.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.008254, allocations: 7.938 kB / 328.5 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.008256, allocations: 4.031 kB / 328.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.008257, allocations: 0 / 328.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.008363, allocations: 164.3 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.008376, allocations: 11.89 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.00839, allocations: 4 kB / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.836e-05/0.008448, allocations: 4 kB / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.008473, allocations: 7.984 kB / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-06/0.008478, allocations: 0 / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.649e-05/0.008535, allocations: 59.64 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008535, allocations: 0 / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002586/0.008793, allocations: 19.94 kB / 328.8 MB, free: 3.898 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001619/0.01041, allocations: 0.5719 MB / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.78e-05/0.0105, allocations: 40.77 kB / 329.4 MB, free: 3.586 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.01051, allocations: 8 kB / 329.4 MB, free: 3.578 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.291e-05/0.01054, allocations: 28.92 kB / 329.4 MB, free: 3.547 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.01075, allocations: 12 kB / 329.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.01111, allocations: 227.6 kB / 329.7 MB, free: 3.281 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.74e-05/0.01116, allocations: 71.33 kB / 329.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.195e-05/0.0112, allocations: 8.734 kB / 329.7 MB, free: 3.184 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.01126, allocations: 63.42 kB / 329.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01126, allocations: 4 kB / 329.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of Templates: time 0.003424/0.01468, allocations: 1.525 MB / 331.3 MB, free: 1.609 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.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.9301829137839377]