Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.0009708/0.0009708, allocations: 80.8 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.0009706/0.0009706, allocations: 173 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.9823/0.9823, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.2453/0.2453, allocations: 34.25 MB / 296.1 MB, free: 0.6836 MB / 266.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.CombiTable1Dv.Test30,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.616e-05, allocations: 13.12 kB / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002929/0.002955, allocations: 1.698 MB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006596/0.003615, allocations: 0.5452 MB / 327.6 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.399e-05/0.003659, allocations: 0 / 327.6 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.003871, allocations: 79.64 kB / 327.6 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.004064, allocations: 99.58 kB / 327.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.004253, allocations: 115.6 kB / 327.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.004372, allocations: 88.38 kB / 327.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.37e-05/0.004446, allocations: 15.98 kB / 327.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.805e-05/0.004504, allocations: 43.89 kB / 328 MB, free: 4.949 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.231e-05/0.004586, allocations: 51.88 kB / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.004598, allocations: 4 kB / 328 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.263e-05/0.00466, allocations: 39.92 kB / 328.1 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.004698, allocations: 23.92 kB / 328.1 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.004719, allocations: 19.92 kB / 328.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.004843, allocations: 95.53 kB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-06/0.004845, allocations: 4 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.004845, allocations: 0 / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.776e-06/0.004848, allocations: 0 / 328.2 MB, free: 4.715 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.0002749/0.005123, allocations: 309.6 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.005154, allocations: 8.031 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.005178, allocations: 16.94 kB / 328.6 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.005298, allocations: 147.4 kB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-06/0.005304, allocations: 384 / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.00532, allocations: 8.375 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.249e-05/0.005392, allocations: 62.86 kB / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.0054, allocations: 4.188 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.005406, allocations: 4.125 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.005409, allocations: 0 / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.14e-05/0.005431, allocations: 15.98 kB / 328.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.005617, allocations: 171 kB / 329 MB, free: 3.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.332e-05/0.00566, allocations: 37.39 kB / 329 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.189e-05/0.005672, allocations: 4.859 kB / 329 MB, free: 3.855 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.005684, allocations: 4 kB / 329 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.005703, allocations: 38.58 kB / 329 MB, free: 3.805 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.005704, allocations: 0 / 329 MB, free: 3.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000358/0.006062, allocations: 145.9 kB / 329.2 MB, free: 3.656 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.006086, allocations: 55.42 kB / 329.2 MB, free: 3.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.00644, allocations: 181.5 kB / 329.4 MB, free: 3.398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.00645, allocations: 29.7 kB / 329.4 MB, free: 3.363 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.728e-05/0.006477, allocations: 96.06 kB / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.006498, allocations: 27.73 kB / 329.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.006526, allocations: 25.7 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.774e-05/0.006594, allocations: 326.8 kB / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.006606, allocations: 8 kB / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.057e-05/0.006616, allocations: 4 kB / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/0.006651, allocations: 35.88 kB / 330 MB, free: 2.828 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.006651, allocations: 0 / 330 MB, free: 2.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.164e-05/0.006713, allocations: 69.55 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.006721, allocations: 4 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.006725, allocations: 0 / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.006733, allocations: 0 / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.219e-05/0.006785, allocations: 15.98 kB / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.006789, allocations: 4 kB / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.622e-05/0.006806, allocations: 3.984 kB / 330.1 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.00681, allocations: 4 kB / 330.1 MB, free: 2.723 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 4.819e-05/0.006859, allocations: 116.7 kB / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.006877, allocations: 11.88 kB / 330.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.971e-05/0.006967, allocations: 79.06 kB / 330.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.006968, allocations: 0 / 330.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.00697, allocations: 0 / 330.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.006972, allocations: 0 / 330.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.007174, allocations: 251.5 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.007177, allocations: 7.984 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.007212, allocations: 20.03 kB / 330.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.007213, allocations: 0 / 330.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.007219, allocations: 4 kB / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.00722, allocations: 0 / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.007221, allocations: 7.984 kB / 330.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.751e-05/0.007299, allocations: 160.3 kB / 330.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.007308, allocations: 11.91 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.007317, allocations: 0 / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.348e-05/0.007351, allocations: 8 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.007372, allocations: 4.406 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.007376, allocations: 8 kB / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.87e-05/0.007415, allocations: 56.12 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007415, allocations: 0 / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001306/0.007545, allocations: 20 kB / 330.8 MB, free: 1.902 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.001178/0.008724, allocations: 0.5703 MB / 331.4 MB, free: 1.637 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.986e-05/0.008793, allocations: 44.72 kB / 331.4 MB, free: 1.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.008796, allocations: 0 / 331.4 MB, free: 1.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.317e-05/0.00882, allocations: 24.78 kB / 331.4 MB, free: 1.562 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.008966, allocations: 19.98 kB / 331.5 MB, free: 1.543 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/0.009234, allocations: 227.7 kB / 331.7 MB, free: 1.289 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.65e-05/0.00927, allocations: 71.27 kB / 331.8 MB, free: 1.199 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.081e-05/0.009301, allocations: 17.09 kB / 331.8 MB, free: 1.184 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.009353, allocations: 63.36 kB / 331.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of SimCode: time 7.82e-07/0.009354, allocations: 0 / 331.8 MB, free: 1.121 MB / 298.7 MB Notification: Performance of Templates: time 0.002827/0.01218, allocations: 1.519 MB / 333.4 MB, free: 15.61 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.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.9697437551803887]