Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001955/0.001955, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002734/0.002734, allocations: 160.9 kB / 24.27 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.614/1.614, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3588/0.3588, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.269e-05, allocations: 2.312 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.004992/0.005024, allocations: 1.827 MB / 379.1 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.007085, allocations: 0.9578 MB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.423e-05/0.00716, allocations: 3.938 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.007448, allocations: 67.66 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004354/0.007883, allocations: 131.2 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.008318, allocations: 159.5 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003147/0.008633, allocations: 199.3 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.008744, allocations: 21.78 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.008938, allocations: 103.8 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.0091, allocations: 87.77 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.009135, allocations: 16 kB / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.009246, allocations: 51.91 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.53e-05/0.009342, allocations: 35.84 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.424e-05/0.009436, allocations: 51.83 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.009763, allocations: 191.4 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.009767, allocations: 0 / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.009768, allocations: 0 / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.009773, allocations: 3.938 kB / 381.1 MB, free: 14.98 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.001233/0.01101, allocations: 0.5005 MB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.01104, allocations: 12.03 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.816e-05/0.01113, allocations: 20.84 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.01142, allocations: 173.4 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.01144, allocations: 8.375 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.01148, allocations: 8.359 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007798/0.01226, allocations: 146 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.01227, allocations: 192 / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.01229, allocations: 4.375 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.01231, allocations: 7.938 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007557/0.01306, allocations: 167.7 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005387/0.0136, allocations: 288.3 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008274/0.01443, allocations: 190.4 kB / 382.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.01482, allocations: 88.75 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.01485, allocations: 3.938 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006518/0.01551, allocations: 167.2 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.784e-06/0.01551, allocations: 0 / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.003869/0.01938, allocations: 0.8276 MB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.01944, allocations: 59.41 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.01976, allocations: 240.3 kB / 384 MB, free: 11.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.0198, allocations: 33.7 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.01991, allocations: 120.1 kB / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.235e-05/0.01998, allocations: 39.69 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.209e-05/0.02007, allocations: 33.7 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002299/0.0203, allocations: 338.8 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007636/0.02106, allocations: 223.2 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007366/0.0218, allocations: 223.2 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.02314, allocations: 365.7 kB / 385.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.02314, allocations: 0 / 385.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00171/0.02485, allocations: 0.5155 MB / 385.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.797e-05/0.02493, allocations: 63.39 kB / 385.9 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.02494, allocations: 0 / 385.9 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.02496, allocations: 0 / 385.9 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/0.0254, allocations: 67.91 kB / 386 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.0254, allocations: 8 kB / 386 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.0258, allocations: 59.91 kB / 386.1 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.02582, allocations: 4 kB / 386.1 MB, free: 9.785 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.0001684/0.02599, allocations: 141.7 kB / 386.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/0.02605, allocations: 23.91 kB / 386.2 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.02761, allocations: 406.7 kB / 386.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.02762, allocations: 0 / 386.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.02762, allocations: 0 / 386.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.02763, allocations: 3.984 kB / 386.6 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.02948, allocations: 0.6268 MB / 387.2 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.02948, allocations: 3.938 kB / 387.3 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.02986, allocations: 63.91 kB / 387.3 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.02987, allocations: 0 / 387.3 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.02989, allocations: 8 kB / 387.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.02989, allocations: 3.984 kB / 387.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02989, allocations: 4 kB / 387.3 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.03145, allocations: 490.8 kB / 387.8 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.03148, allocations: 19.88 kB / 387.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.03152, allocations: 0 / 387.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.03195, allocations: 67.91 kB / 387.9 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.03212, allocations: 51.92 kB / 387.9 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.03214, allocations: 4 kB / 387.9 MB, free: 7.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002081/0.03235, allocations: 180.6 kB / 388.1 MB, free: 7.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03235, allocations: 0 / 388.1 MB, free: 7.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003339/0.03269, allocations: 55.88 kB / 388.2 MB, free: 7.598 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.001929/0.03462, allocations: 419.6 kB / 388.6 MB, free: 7.332 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.03629, allocations: 0.5172 MB / 389.1 MB, free: 6.777 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.03629, allocations: 0 / 389.1 MB, free: 6.777 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009544/0.03724, allocations: 183.7 kB / 389.3 MB, free: 6.598 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.03764, allocations: 63.67 kB / 389.3 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009652/0.0386, allocations: 353.1 kB / 389.7 MB, free: 6.164 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.03873, allocations: 119.3 kB / 389.8 MB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.03884, allocations: 17.48 kB / 389.8 MB, free: 6.008 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.85e-05/0.03894, allocations: 20.5 kB / 389.8 MB, free: 5.988 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.03894, allocations: 0 / 389.8 MB, free: 5.988 MB / 362.7 MB Notification: Performance of Templates: time 0.008144/0.04708, allocations: 3.873 MB / 393.7 MB, free: 2.152 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.161487805889919]