Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.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.001939/0.001939, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00294/0.00294, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.535/1.535, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3755/0.3755, allocations: 34.27 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.693e-05, allocations: 2.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003427/0.003454, allocations: 1.828 MB / 379.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.005553, allocations: 0.966 MB / 380.1 MB, free: 140 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-05/0.005635, allocations: 0 / 380.1 MB, free: 140 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.005924, allocations: 71.66 kB / 380.2 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000428/0.006352, allocations: 123.2 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.006874, allocations: 163.5 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.007201, allocations: 199.4 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.007297, allocations: 17.8 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.007498, allocations: 111.7 kB / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.007668, allocations: 83.77 kB / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.007702, allocations: 12 kB / 380.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.007815, allocations: 47.97 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.007919, allocations: 39.84 kB / 380.9 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.075e-05/0.00801, allocations: 43.89 kB / 381 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.008349, allocations: 203.3 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.008354, allocations: 0 / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.008356, allocations: 0 / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.008361, allocations: 4 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001275/0.009636, allocations: 0.4966 MB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.009681, allocations: 12.03 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.304e-05/0.009774, allocations: 16.84 kB / 381.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.01008, allocations: 177.4 kB / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.01009, allocations: 4.375 kB / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/0.01014, allocations: 20.3 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005352/0.01067, allocations: 138.1 kB / 382.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.01069, allocations: 7.922 kB / 382.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.01071, allocations: 0 / 382.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.01072, allocations: 4 kB / 382.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007364/0.01145, allocations: 159.8 kB / 382.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.01197, allocations: 288.4 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008085/0.01278, allocations: 194.4 kB / 382.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.01317, allocations: 96.69 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.0132, allocations: 4 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000612/0.01381, allocations: 159.2 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.01382, allocations: 0 / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.004054/0.01787, allocations: 0.8244 MB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.01793, allocations: 59.41 kB / 383.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.01825, allocations: 239.9 kB / 384.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.01829, allocations: 33.7 kB / 384.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.0184, allocations: 124.1 kB / 384.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.125e-05/0.01847, allocations: 35.69 kB / 384.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.773e-05/0.01855, allocations: 33.7 kB / 384.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.01875, allocations: 338.8 kB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007595/0.01951, allocations: 227.2 kB / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007374/0.02025, allocations: 227.2 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.02157, allocations: 366.2 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.02157, allocations: 0 / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001626/0.02319, allocations: 0.5078 MB / 385.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/0.02326, allocations: 59.41 kB / 386 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.02326, allocations: 3.984 kB / 386 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.02328, allocations: 0 / 386 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/0.0237, allocations: 75.84 kB / 386.1 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.02371, allocations: 0 / 386.1 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000403/0.02411, allocations: 67.91 kB / 386.1 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.02413, allocations: 4 kB / 386.1 MB, free: 9.836 MB / 362.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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001657/0.0243, allocations: 137.8 kB / 386.3 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.02436, allocations: 27.91 kB / 386.3 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.02588, allocations: 406.6 kB / 386.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.02589, allocations: 4 kB / 386.7 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.0259, allocations: 0 / 386.7 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.0259, allocations: 3.984 kB / 386.7 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.02773, allocations: 0.6266 MB / 387.3 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.02773, allocations: 0 / 387.3 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/0.02811, allocations: 67.84 kB / 387.4 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.02812, allocations: 3.938 kB / 387.4 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.02814, allocations: 8 kB / 387.4 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.02814, allocations: 7.984 kB / 387.4 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.02815, allocations: 0 / 387.4 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.0297, allocations: 479 kB / 387.9 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.481e-05/0.02974, allocations: 19.89 kB / 387.9 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.02977, allocations: 0 / 387.9 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/0.03019, allocations: 67.91 kB / 388 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.03035, allocations: 43.92 kB / 388 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.03038, allocations: 11.94 kB / 388 MB, free: 7.887 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002124/0.03059, allocations: 180.6 kB / 388.2 MB, free: 7.711 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03059, allocations: 0 / 388.2 MB, free: 7.711 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003324/0.03092, allocations: 55.88 kB / 388.2 MB, free: 7.656 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001931/0.03285, allocations: 441.9 kB / 388.7 MB, free: 7.398 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.03453, allocations: 0.509 MB / 389.2 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.03453, allocations: 0 / 389.2 MB, free: 6.855 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007503/0.03528, allocations: 179.7 kB / 389.4 MB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.03571, allocations: 44.69 kB / 389.4 MB, free: 6.633 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.03674, allocations: 357 kB / 389.8 MB, free: 6.258 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.03688, allocations: 123.2 kB / 389.9 MB, free: 6.109 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.037, allocations: 21.47 kB / 389.9 MB, free: 6.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.855e-05/0.03709, allocations: 20.5 kB / 389.9 MB, free: 6.07 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.0371, allocations: 0 / 389.9 MB, free: 6.07 MB / 362.7 MB Notification: Performance of Templates: time 0.009153/0.04625, allocations: 3.875 MB / 393.8 MB, free: 2.25 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.u,d_t_new.y,t_new.extrapolation,t_new.isCsvExt,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y,time,trapezoid1.T_falling,trapezoid1.T_rising,trapezoid1.T_width,trapezoid1.amplitude,trapezoid1.falling,trapezoid1.nperiod,trapezoid1.offset,trapezoid1.period,trapezoid1.rising,trapezoid1.startTime,trapezoid1.width,trapezoid1.y,trapezoid2.T_falling,trapezoid2.T_rising,trapezoid2.T_width,trapezoid2.amplitude,trapezoid2.falling,trapezoid2.nperiod,trapezoid2.offset,trapezoid2.period,trapezoid2.rising,trapezoid2.startTime,trapezoid2.width,trapezoid2.y [Calling sys.exit(0), Time elapsed: 5.02653543103952]