Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001294/0.001294, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001541/0.001541, allocations: 168.7 kB / 24.91 MB, free: 8.77 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.9895/0.9895, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2539/0.2539, allocations: 32.81 MB / 294.6 MB, free: 0.6719 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 323.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.111e-05, allocations: 2.312 kB / 323.3 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002996/0.003017, allocations: 1.695 MB / 325 MB, free: 7.766 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009699/0.003986, allocations: 0.5491 MB / 325.5 MB, free: 7.211 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.004046, allocations: 0 / 325.5 MB, free: 7.211 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.004362, allocations: 111.6 kB / 325.6 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.004647, allocations: 115.5 kB / 325.8 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.004929, allocations: 123.5 kB / 325.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.005094, allocations: 87.81 kB / 326 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.672e-05/0.005181, allocations: 15.97 kB / 326 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.228e-05/0.005263, allocations: 55.75 kB / 326 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.005367, allocations: 55.95 kB / 326.1 MB, free: 6.656 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.005381, allocations: 4 kB / 326.1 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.041e-05/0.005472, allocations: 47.91 kB / 326.1 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.672e-05/0.005519, allocations: 27.86 kB / 326.2 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.005545, allocations: 15.92 kB / 326.2 MB, free: 6.562 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.00571, allocations: 95.61 kB / 326.3 MB, free: 6.469 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.005712, allocations: 0 / 326.3 MB, free: 6.469 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.005713, allocations: 0 / 326.3 MB, free: 6.469 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.005718, allocations: 3.984 kB / 326.3 MB, free: 6.465 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.000492/0.00621, allocations: 329.3 kB / 326.6 MB, free: 6.121 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.006246, allocations: 12.03 kB / 326.6 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.006279, allocations: 12.92 kB / 326.6 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.006431, allocations: 146.4 kB / 326.8 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-06/0.006441, allocations: 4.375 kB / 326.8 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.006459, allocations: 4.375 kB / 326.8 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.576e-05/0.006555, allocations: 54.95 kB / 326.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.006566, allocations: 4.172 kB / 326.8 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.006574, allocations: 4.125 kB / 326.8 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.00658, allocations: 0 / 326.8 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.714e-05/0.006607, allocations: 11.94 kB / 326.9 MB, free: 5.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.006846, allocations: 175.7 kB / 327 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.672e-05/0.006903, allocations: 41.33 kB / 327.1 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.006918, allocations: 4.859 kB / 327.1 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.006933, allocations: 4 kB / 327.1 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.006956, allocations: 42.44 kB / 327.1 MB, free: 5.535 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.006957, allocations: 0 / 327.1 MB, free: 5.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004202/0.007378, allocations: 145.6 kB / 327.3 MB, free: 5.387 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.007402, allocations: 55.39 kB / 327.3 MB, free: 5.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.007508, allocations: 193.6 kB / 327.5 MB, free: 5.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.007518, allocations: 33.7 kB / 327.5 MB, free: 5.078 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.007548, allocations: 96.11 kB / 327.6 MB, free: 4.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.00757, allocations: 31.72 kB / 327.7 MB, free: 4.949 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.007597, allocations: 17.72 kB / 327.7 MB, free: 4.926 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.85e-05/0.007666, allocations: 330.8 kB / 328 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.007678, allocations: 4 kB / 328 MB, free: 4.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.153e-05/0.007689, allocations: 8 kB / 328 MB, free: 4.582 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.412e-05/0.007723, allocations: 31.59 kB / 328 MB, free: 4.547 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.007724, allocations: 4 kB / 328 MB, free: 4.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.194e-05/0.007786, allocations: 61.61 kB / 328.1 MB, free: 4.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.007796, allocations: 8 kB / 328.1 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.007799, allocations: 4.422 kB / 328.1 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.007808, allocations: 0 / 328.1 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.126e-05/0.007859, allocations: 15.98 kB / 328.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.007861, allocations: 0 / 328.1 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.007878, allocations: 4 kB / 328.1 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.007883, allocations: 0 / 328.1 MB, free: 4.445 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.866e-05/0.007932, allocations: 116.6 kB / 328.3 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.007952, allocations: 15.92 kB / 328.3 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.495e-05/0.008047, allocations: 83.41 kB / 328.3 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.00805, allocations: 8 kB / 328.4 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-06/0.008051, allocations: 0 / 328.4 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.008054, allocations: 0 / 328.4 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.00827, allocations: 259.4 kB / 328.6 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.008272, allocations: 3.984 kB / 328.6 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-05/0.008307, allocations: 15.94 kB / 328.6 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.008309, allocations: 0 / 328.6 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.008315, allocations: 4 kB / 328.6 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.008316, allocations: 4 kB / 328.6 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008317, allocations: 0 / 328.6 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.048e-05/0.008397, allocations: 168.3 kB / 328.8 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.527e-06/0.008407, allocations: 11.91 kB / 328.8 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.00842, allocations: 8 kB / 328.8 MB, free: 3.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.181e-05/0.008452, allocations: 0 / 328.8 MB, free: 3.695 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.008478, allocations: 7.984 kB / 328.8 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.008481, allocations: 0 / 328.8 MB, free: 3.688 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.74e-05/0.008528, allocations: 68.17 kB / 328.9 MB, free: 3.617 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008528, allocations: 0 / 328.9 MB, free: 3.617 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001338/0.008662, allocations: 19.94 kB / 328.9 MB, free: 3.598 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.001138/0.0098, allocations: 0.5751 MB / 329.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.242e-05/0.009872, allocations: 32.78 kB / 329.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.009876, allocations: 4 kB / 329.5 MB, free: 3.289 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.0099, allocations: 28.98 kB / 329.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.01006, allocations: 23.98 kB / 329.6 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.01035, allocations: 242.6 kB / 329.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.544e-05/0.01039, allocations: 75.33 kB / 329.9 MB, free: 2.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.419e-05/0.01043, allocations: 12.67 kB / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.01048, allocations: 63.36 kB / 330 MB, free: 2.797 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01048, allocations: 0 / 330 MB, free: 2.797 MB / 298.7 MB Notification: Performance of Templates: time 0.002916/0.0134, allocations: 1.542 MB / 331.5 MB, free: 1.273 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.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.906867704819888]