Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.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.0009614/0.0009614, allocations: 80.92 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.00122/0.00122, allocations: 172.3 kB / 24.91 MB, free: 8.766 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.045/1.045, allocations: 177.1 MB / 205.3 MB, free: 5.453 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.2642/0.2642, allocations: 32.81 MB / 294.6 MB, free: 1.23 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.CombiTable1Ds.Test26,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.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,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.CombiTable1Ds.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.807e-05, allocations: 2.969 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.002302/0.00232, allocations: 1.688 MB / 325 MB, free: 7.922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007406/0.00306, allocations: 0.5452 MB / 325.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.003112, allocations: 0 / 325.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.003345, allocations: 79.69 kB / 325.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.003591, allocations: 95.53 kB / 325.7 MB, free: 7.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.00383, allocations: 99.56 kB / 325.8 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.003973, allocations: 91.73 kB / 325.9 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.55e-05/0.004048, allocations: 8 kB / 325.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.004111, allocations: 47.88 kB / 325.9 MB, free: 6.957 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.64e-05/0.004198, allocations: 51.88 kB / 326 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.004213, allocations: 4 kB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.667e-05/0.004289, allocations: 47.86 kB / 326 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.971e-05/0.004329, allocations: 15.94 kB / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.004356, allocations: 23.91 kB / 326.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.004509, allocations: 79.73 kB / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.004511, allocations: 0 / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004512, allocations: 0 / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.004515, allocations: 0 / 326.2 MB, free: 6.738 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.0002859/0.004801, allocations: 321.4 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.644e-05/0.004827, allocations: 12.03 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.482e-05/0.004852, allocations: 8.938 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.004977, allocations: 151.4 kB / 326.6 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.543e-06/0.004983, allocations: 384 / 326.6 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.004999, allocations: 4.375 kB / 326.6 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.502e-05/0.005084, allocations: 62.92 kB / 326.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.005093, allocations: 192 / 326.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.005101, allocations: 4.125 kB / 326.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.005105, allocations: 0 / 326.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.188e-05/0.005127, allocations: 11.98 kB / 326.7 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.005322, allocations: 167.7 kB / 326.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.425e-05/0.005366, allocations: 38.55 kB / 326.9 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.363e-05/0.00538, allocations: 8.859 kB / 326.9 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.005394, allocations: 0 / 326.9 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.005414, allocations: 38.5 kB / 327 MB, free: 5.832 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.005415, allocations: 0 / 327 MB, free: 5.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003943/0.005809, allocations: 141.5 kB / 327.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.005834, allocations: 51.41 kB / 327.2 MB, free: 5.625 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.00594, allocations: 184.8 kB / 327.3 MB, free: 5.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.00595, allocations: 29.7 kB / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.005983, allocations: 108.7 kB / 327.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.006006, allocations: 27.8 kB / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.006033, allocations: 17.7 kB / 327.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.006109, allocations: 326.8 kB / 327.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.006121, allocations: 4 kB / 327.8 MB, free: 4.902 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.198e-05/0.006133, allocations: 12 kB / 327.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.13e-05/0.006164, allocations: 20.84 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006165, allocations: 0 / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.356e-05/0.006228, allocations: 65.55 kB / 327.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.006239, allocations: 8 kB / 327.9 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.006242, allocations: 0 / 327.9 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.006252, allocations: 432 / 328 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-05/0.006307, allocations: 19.98 kB / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.006309, allocations: 0 / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.006325, allocations: 3.938 kB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.006332, allocations: 4 kB / 328 MB, free: 4.762 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 5.159e-05/0.006383, allocations: 120.6 kB / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.006402, allocations: 11.94 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.469e-05/0.006496, allocations: 83.34 kB / 328.2 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.006498, allocations: 4 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.006499, allocations: 0 / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.006502, allocations: 0 / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.006715, allocations: 255.5 kB / 328.4 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.006716, allocations: 0 / 328.4 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.00675, allocations: 15.98 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.006752, allocations: 0 / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.006758, allocations: 0 / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.006759, allocations: 4 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.00676, allocations: 0 / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.839e-05/0.006848, allocations: 168.3 kB / 328.6 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.006859, allocations: 11.91 kB / 328.6 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.006869, allocations: 0 / 328.6 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.236e-05/0.006902, allocations: 11.98 kB / 328.6 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.006926, allocations: 4 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.00693, allocations: 3.984 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.35e-05/0.006973, allocations: 59.58 kB / 328.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006973, allocations: 0 / 328.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001358/0.007109, allocations: 23.98 kB / 328.7 MB, free: 3.93 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.001171/0.008281, allocations: 0.5665 MB / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.963e-05/0.00836, allocations: 40.77 kB / 329.3 MB, free: 3.625 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.008364, allocations: 0 / 329.3 MB, free: 3.625 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.196e-05/0.008386, allocations: 24.94 kB / 329.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.008535, allocations: 20.05 kB / 329.4 MB, free: 3.578 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.008812, allocations: 219.7 kB / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.822e-05/0.008851, allocations: 71.33 kB / 329.7 MB, free: 3.242 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.998e-05/0.008881, allocations: 12.73 kB / 329.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.008947, allocations: 63.36 kB / 329.7 MB, free: 3.168 MB / 298.7 MB Notification: Performance of SimCode: time 6.02e-07/0.008948, allocations: 0 / 329.7 MB, free: 3.168 MB / 298.7 MB Notification: Performance of Templates: time 0.003073/0.01202, allocations: 1.494 MB / 331.2 MB, free: 1.688 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.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.991825670003891]