Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.001413/0.001413, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001725/0.001725, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 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.526/1.526, allocations: 230.5 MB / 258.1 MB, free: 7.777 MB / 206.1 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.2351/0.2351, allocations: 46.94 MB / 361.5 MB, free: 3.906 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.1.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.1.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002694, allocations: 83.86 kB / 0.4974 GB, free: 6.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3812, allocations: 66.08 MB / 0.5619 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003834/0.385, allocations: 1.819 MB / 0.5637 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.387, allocations: 0.9981 MB / 0.5647 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.3872, allocations: 0 / 0.5647 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.3875, allocations: 59.72 kB / 0.5647 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000436/0.3879, allocations: 123.4 kB / 0.5649 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006449/0.3885, allocations: 210.9 kB / 0.5651 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.3889, allocations: 203.4 kB / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.3891, allocations: 17.73 kB / 0.5653 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.3892, allocations: 83.69 kB / 0.5654 GB, free: 448 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.3894, allocations: 103.6 kB / 0.5655 GB, free: 344 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.621e-05/0.3895, allocations: 12 kB / 0.5655 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.3896, allocations: 40 kB / 0.5655 GB, free: 292 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3897, allocations: 47.88 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.3898, allocations: 55.66 kB / 0.5656 GB, free: 188 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003859/0.3902, allocations: 201.6 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3902, allocations: 0 / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3902, allocations: 3.938 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.3902, allocations: 0 / 0.5658 GB, free: 15.98 MB / 414.1 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.001258/0.3915, allocations: 0.516 MB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3915, allocations: 8.031 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.241e-05/0.3916, allocations: 16.84 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.3919, allocations: 178.2 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.3919, allocations: 4.375 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.392, allocations: 4.375 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/0.3925, allocations: 153.8 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3926, allocations: 4 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.3926, allocations: 4 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3926, allocations: 0 / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007173/0.3933, allocations: 159.8 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008549/0.3942, allocations: 352.3 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008178/0.395, allocations: 198.3 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.3954, allocations: 88.75 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.3954, allocations: 0 / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00063/0.396, allocations: 171.2 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.764e-06/0.396, allocations: 0 / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003879/0.3999, allocations: 0.8322 MB / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.3999, allocations: 59.5 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.4003, allocations: 254.1 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.4003, allocations: 29.7 kB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.4004, allocations: 124.1 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/0.4005, allocations: 39.83 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.193e-05/0.4006, allocations: 38.27 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.4008, allocations: 334.8 kB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00078/0.4016, allocations: 231.2 kB / 0.5695 GB, free: 12.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000755/0.4023, allocations: 233.5 kB / 0.5697 GB, free: 11.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.4037, allocations: 371.9 kB / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4037, allocations: 3.938 kB / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001685/0.4054, allocations: 0.5291 MB / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.128e-05/0.4054, allocations: 59.41 kB / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.4055, allocations: 3.984 kB / 0.5706 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.4055, allocations: 0 / 0.5706 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/0.4059, allocations: 71.89 kB / 0.5707 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4059, allocations: 4 kB / 0.5707 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.4063, allocations: 67.84 kB / 0.5707 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.4064, allocations: 4 kB / 0.5708 GB, free: 10.65 MB / 414.1 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.0001716/0.4065, allocations: 145.6 kB / 0.5709 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.4066, allocations: 19.89 kB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.4082, allocations: 426.7 kB / 0.5713 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4082, allocations: 0 / 0.5713 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4082, allocations: 0 / 0.5713 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4082, allocations: 0 / 0.5713 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.41, allocations: 0.6523 MB / 0.572 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4101, allocations: 0 / 0.572 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004264/0.4105, allocations: 67.91 kB / 0.572 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4105, allocations: 0 / 0.572 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.4105, allocations: 4 kB / 0.572 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.4105, allocations: 4 kB / 0.572 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4105, allocations: 3.938 kB / 0.572 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.4121, allocations: 495 kB / 0.5725 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/0.4121, allocations: 15.91 kB / 0.5725 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.4122, allocations: 7.938 kB / 0.5725 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/0.4126, allocations: 63.91 kB / 0.5726 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.4128, allocations: 51.86 kB / 0.5726 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.4128, allocations: 7.984 kB / 0.5726 GB, free: 8.637 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.413, allocations: 184.5 kB / 0.5728 GB, free: 8.457 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.413, allocations: 0 / 0.5728 GB, free: 8.457 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003308/0.4133, allocations: 43.95 kB / 0.5729 GB, free: 8.414 MB / 414.1 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.00174/0.415, allocations: 425.1 kB / 0.5733 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.4168, allocations: 0.5251 MB / 0.5738 GB, free: 7.582 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4168, allocations: 0 / 0.5738 GB, free: 7.582 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007704/0.4175, allocations: 187.7 kB / 0.574 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.4179, allocations: 34.92 kB / 0.574 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.419, allocations: 396.5 kB / 0.5744 GB, free: 6.945 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.4192, allocations: 115.2 kB / 0.5745 GB, free: 6.816 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.4193, allocations: 19.42 kB / 0.5745 GB, free: 6.797 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4193, allocations: 0 / 0.5745 GB, free: 6.797 MB / 414.1 MB Notification: Performance of Templates: time 0.007138/0.4264, allocations: 3.371 MB / 0.5778 GB, free: 3.426 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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[1],d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.y,t_new.y[1],time,trapezoid1.y,trapezoid2.y [Calling sys.exit(0), Time elapsed: 8.299163958057761]