Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.001033/0.001033, allocations: 80.8 kB / 21.5 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.0009167/0.0009167, allocations: 170.8 kB / 24.91 MB, free: 9.145 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.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2687/0.2687, allocations: 32.81 MB / 294.6 MB, free: 1.254 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.497e-05, allocations: 2.312 kB / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002182/0.002197, allocations: 1.721 MB / 325 MB, free: 7.898 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007497/0.002947, allocations: 0.5491 MB / 325.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.423e-05/0.003001, allocations: 4 kB / 325.6 MB, free: 7.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.003212, allocations: 27.78 kB / 325.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.003441, allocations: 83.55 kB / 325.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.003647, allocations: 95.62 kB / 325.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.00378, allocations: 87.75 kB / 325.9 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.099e-05/0.003861, allocations: 24.55 kB / 325.9 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.996e-05/0.003921, allocations: 43.91 kB / 325.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.391e-05/0.003995, allocations: 31.89 kB / 326 MB, free: 6.953 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.004008, allocations: 4 kB / 326 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.835e-05/0.004086, allocations: 47.92 kB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.88e-05/0.004125, allocations: 23.91 kB / 326 MB, free: 6.879 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.004147, allocations: 11.94 kB / 326 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.004287, allocations: 107.5 kB / 326.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.004289, allocations: 0 / 326.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.00429, allocations: 0 / 326.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.095e-06/0.004293, allocations: 0 / 326.1 MB, free: 6.762 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002916/0.004585, allocations: 305.6 kB / 326.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.004613, allocations: 12.03 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.00464, allocations: 12.92 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.00476, allocations: 137.6 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-06/0.004767, allocations: 4.375 kB / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.004784, allocations: 4.375 kB / 326.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.187e-05/0.004876, allocations: 70.88 kB / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.004884, allocations: 4.125 kB / 326.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.004894, allocations: 8.125 kB / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.004899, allocations: 0 / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.009e-05/0.004929, allocations: 19.81 kB / 326.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.005146, allocations: 195 kB / 326.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.501e-05/0.005201, allocations: 50.55 kB / 327 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.005217, allocations: 12.86 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.005238, allocations: 3.938 kB / 327 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.00526, allocations: 30.56 kB / 327 MB, free: 5.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.005261, allocations: 0 / 327 MB, free: 5.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004607/0.005722, allocations: 198.2 kB / 327.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.00575, allocations: 63.39 kB / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.005847, allocations: 159.2 kB / 327.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.005858, allocations: 25.7 kB / 327.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.005887, allocations: 92.12 kB / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.005917, allocations: 47.58 kB / 327.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.005952, allocations: 25.7 kB / 327.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.766e-05/0.006029, allocations: 326.8 kB / 327.9 MB, free: 4.848 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.006047, allocations: 8 kB / 327.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.692e-05/0.006063, allocations: 13.73 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.482e-05/0.006108, allocations: 48.92 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.006109, allocations: 3.938 kB / 328 MB, free: 4.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.698e-05/0.006186, allocations: 80.36 kB / 328.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.006196, allocations: 4 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.0062, allocations: 0 / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.006211, allocations: 4 kB / 328.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.00628, allocations: 19.98 kB / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-06/0.006282, allocations: 4 kB / 328.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.887e-05/0.006301, allocations: 3.984 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.00631, allocations: 7.938 kB / 328.1 MB, free: 4.648 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 (13): * Single equations (assignments): 13 * 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.586e-05/0.006365, allocations: 116.6 kB / 328.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.006389, allocations: 23.98 kB / 328.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.006505, allocations: 91.06 kB / 328.3 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.006508, allocations: 4 kB / 328.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.00651, allocations: 0 / 328.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.006513, allocations: 0 / 328.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.006766, allocations: 291.4 kB / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.006768, allocations: 0 / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7e-05/0.006838, allocations: 19.98 kB / 328.6 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.00684, allocations: 4 kB / 328.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.006848, allocations: 4 kB / 328.6 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.006852, allocations: 7.969 kB / 328.7 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.006854, allocations: 4 kB / 328.7 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.006994, allocations: 172.3 kB / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.007008, allocations: 15.88 kB / 328.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.007021, allocations: 4 kB / 328.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.00706, allocations: 7.922 kB / 328.9 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.007086, allocations: 11.98 kB / 328.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.007092, allocations: 4 kB / 328.9 MB, free: 3.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.955e-05/0.007131, allocations: 27.67 kB / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007131, allocations: 0 / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001472/0.007279, allocations: 35.98 kB / 328.9 MB, free: 3.754 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 (13): * Single equations (assignments): 13 * 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.001173/0.008451, allocations: 0.5662 MB / 329.5 MB, free: 3.488 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.582e-05/0.008547, allocations: 56.77 kB / 329.6 MB, free: 3.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.008551, allocations: 4 kB / 329.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.008582, allocations: 36.53 kB / 329.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.008742, allocations: 19.98 kB / 329.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.009037, allocations: 228.1 kB / 329.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.439e-05/0.009082, allocations: 67.34 kB / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.289e-05/0.009125, allocations: 20.53 kB / 329.9 MB, free: 3.012 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.009182, allocations: 71.36 kB / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.009182, allocations: 0 / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of Templates: time 0.003019/0.0122, allocations: 1.67 MB / 331.7 MB, free: 1.293 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.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.992163917981088]