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.001307/0.001307, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001447/0.001447, allocations: 206 kB / 23.72 MB, free: 4.391 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.479/1.479, allocations: 230.5 MB / 257.4 MB, free: 7.766 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.2465/0.2465, allocations: 46.94 MB / 360.8 MB, free: 3.906 MB / 286.1 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.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.002421/0.002421, allocations: 79.88 kB / 0.4967 GB, free: 6.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4153, allocations: 66.08 MB / 0.5612 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.007147/0.4225, allocations: 1.815 MB / 0.563 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00326/0.4257, allocations: 0.9942 MB / 0.5639 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.4258, allocations: 0 / 0.5639 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004237/0.4263, allocations: 67.66 kB / 0.564 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006074/0.4269, allocations: 123.4 kB / 0.5641 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.4279, allocations: 210.7 kB / 0.5643 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004803/0.4284, allocations: 211.4 kB / 0.5645 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.4286, allocations: 17.73 kB / 0.5645 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.4288, allocations: 79.69 kB / 0.5646 GB, free: 428 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.429, allocations: 103.6 kB / 0.5647 GB, free: 324 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/0.4291, allocations: 16 kB / 0.5647 GB, free: 308 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.4292, allocations: 35.98 kB / 0.5648 GB, free: 272 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.4294, allocations: 43.89 kB / 0.5648 GB, free: 228 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.4295, allocations: 63.59 kB / 0.5649 GB, free: 164 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004916/0.43, allocations: 193.6 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.43, allocations: 0 / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.43, allocations: 4 kB / 0.5651 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.43, allocations: 0 / 0.5651 GB, free: 15.97 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.001702/0.4317, allocations: 0.5044 MB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.4318, allocations: 15.97 kB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.4319, allocations: 20.83 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/0.4323, allocations: 174.1 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.4324, allocations: 12.38 kB / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.854e-05/0.4324, allocations: 4.375 kB / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008418/0.4333, allocations: 149.8 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.4333, allocations: 0 / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.4333, allocations: 0 / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.4333, allocations: 4 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.4346, allocations: 167.8 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.4359, allocations: 356.2 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.4374, allocations: 186.4 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006786/0.4381, allocations: 92.77 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.4381, allocations: 4 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009857/0.4391, allocations: 163.2 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 2.745e-06/0.4391, allocations: 4 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.006598/0.4457, allocations: 0.8361 MB / 0.5677 GB, free: 13.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.4458, allocations: 55.41 kB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004793/0.4462, allocations: 250.3 kB / 0.5679 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.4463, allocations: 33.64 kB / 0.568 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.4464, allocations: 128.1 kB / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.12e-05/0.4465, allocations: 43.83 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.4467, allocations: 33.7 kB / 0.5682 GB, free: 12.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002479/0.4469, allocations: 338.8 kB / 0.5685 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.4483, allocations: 231.2 kB / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.4497, allocations: 223.2 kB / 0.5689 GB, free: 11.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/0.4521, allocations: 389.7 kB / 0.5693 GB, free: 11.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4521, allocations: 0 / 0.5693 GB, free: 11.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002874/0.455, allocations: 0.5173 MB / 0.5698 GB, free: 10.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.247e-05/0.4551, allocations: 59.39 kB / 0.5699 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4551, allocations: 4 kB / 0.5699 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.4551, allocations: 4 kB / 0.5699 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000735/0.4559, allocations: 67.91 kB / 0.5699 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.4559, allocations: 3.938 kB / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007307/0.4566, allocations: 67.84 kB / 0.57 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/0.4567, allocations: 11.98 kB / 0.57 GB, free: 10.62 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.0002561/0.4569, allocations: 135.1 kB / 0.5701 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.678e-05/0.457, allocations: 19.89 kB / 0.5702 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/0.4598, allocations: 425.6 kB / 0.5706 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.4598, allocations: 7.938 kB / 0.5706 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.4599, allocations: 0 / 0.5706 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4599, allocations: 0 / 0.5706 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.463, allocations: 0.6384 MB / 0.5712 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.463, allocations: 0 / 0.5712 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007067/0.4638, allocations: 71.91 kB / 0.5713 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.4638, allocations: 0 / 0.5713 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.4638, allocations: 8.547 kB / 0.5713 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.4638, allocations: 3.938 kB / 0.5713 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4638, allocations: 3.938 kB / 0.5713 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.4664, allocations: 491.1 kB / 0.5718 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.4665, allocations: 19.89 kB / 0.5718 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.5e-05/0.4666, allocations: 4 kB / 0.5718 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007188/0.4673, allocations: 67.78 kB / 0.5718 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002671/0.4675, allocations: 51.86 kB / 0.5719 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.4676, allocations: 4 kB / 0.5719 GB, free: 8.629 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003284/0.4679, allocations: 188.5 kB / 0.5721 GB, free: 8.445 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4679, allocations: 0 / 0.5721 GB, free: 8.445 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005778/0.4685, allocations: 51.94 kB / 0.5721 GB, free: 8.395 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.002655/0.4711, allocations: 427.9 kB / 0.5725 GB, free: 8.121 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002725/0.4739, allocations: 0.5212 MB / 0.573 GB, free: 7.562 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4739, allocations: 4 kB / 0.573 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.4752, allocations: 179.7 kB / 0.5732 GB, free: 7.383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006992/0.4759, allocations: 35.61 kB / 0.5733 GB, free: 7.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.4775, allocations: 370.6 kB / 0.5736 GB, free: 6.965 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.4777, allocations: 123.2 kB / 0.5737 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002466/0.478, allocations: 29.41 kB / 0.5738 GB, free: 6.797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.4781, allocations: 19.44 kB / 0.5738 GB, free: 6.777 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4781, allocations: 0 / 0.5738 GB, free: 6.777 MB / 414.1 MB Notification: Performance of Templates: time 0.01424/0.4924, allocations: 4.015 MB / 0.5777 GB, free: 2.789 MB / 414.1 MB " [Timeout remaining time 659] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins/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.u,d_t_new.y,t_new.extrapolation,t_new.isCsvExt,t_new.n,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.u1[1],t_new.u2[1],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[1],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.36967565305531]