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.001777/0.001777, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001773/0.001773, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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.506/1.506, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 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.2379/0.2379, allocations: 46.97 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] 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 0.001939/0.001939, allocations: 59.91 kB / 0.4974 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.408, allocations: 66.03 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.004189/0.4122, allocations: 1.818 MB / 0.5636 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.4144, allocations: 0.9674 MB / 0.5646 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.4145, allocations: 4 kB / 0.5646 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.4147, allocations: 59.73 kB / 0.5646 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004025/0.4151, allocations: 127.4 kB / 0.5647 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.4156, allocations: 167.3 kB / 0.5649 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.4159, allocations: 191.5 kB / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.64e-05/0.4159, allocations: 17.73 kB / 0.5651 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.416, allocations: 91.61 kB / 0.5652 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.4162, allocations: 91.69 kB / 0.5653 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.4162, allocations: 16 kB / 0.5653 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-05/0.4163, allocations: 51.86 kB / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.226e-05/0.4164, allocations: 39.91 kB / 0.5654 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.4165, allocations: 59.64 kB / 0.5654 GB, free: 456 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.4167, allocations: 189.6 kB / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4167, allocations: 4 kB / 0.5656 GB, free: 268 kB / 398.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.4167, allocations: 0 / 0.5656 GB, free: 268 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.4167, allocations: 0 / 0.5656 GB, free: 268 kB / 398.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.0009976/0.4177, allocations: 0.5044 MB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.4177, allocations: 12.03 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.4178, allocations: 20.8 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.418, allocations: 170.2 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.418, allocations: 4.375 kB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.4181, allocations: 8.125 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/0.4185, allocations: 145.5 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.4185, allocations: 4 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.4185, allocations: 0 / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4186, allocations: 7.938 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006833/0.4192, allocations: 159.8 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.4196, allocations: 288.3 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000751/0.4204, allocations: 186.3 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003591/0.4208, allocations: 96.75 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.4208, allocations: 0 / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005946/0.4214, allocations: 171.1 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.4214, allocations: 0 / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003651/0.425, allocations: 0.8205 MB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.4251, allocations: 55.41 kB / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.4254, allocations: 243.8 kB / 0.5684 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.4254, allocations: 33.7 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.4255, allocations: 132.1 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.4256, allocations: 35.69 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.548e-05/0.4257, allocations: 33.7 kB / 0.5686 GB, free: 13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.4258, allocations: 334.8 kB / 0.569 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007639/0.4266, allocations: 219.2 kB / 0.5692 GB, free: 12.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007654/0.4274, allocations: 225.9 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.4287, allocations: 367.9 kB / 0.5697 GB, free: 11.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4287, allocations: 0 / 0.5697 GB, free: 11.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001634/0.4303, allocations: 0.5038 MB / 0.5702 GB, free: 11.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.302e-05/0.4304, allocations: 65.75 kB / 0.5703 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4304, allocations: 0 / 0.5703 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.4304, allocations: 4 kB / 0.5703 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.4308, allocations: 75.89 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.4308, allocations: 0 / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.4313, allocations: 71.84 kB / 0.5704 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.4313, allocations: 4.109 kB / 0.5704 GB, free: 11.07 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.0001512/0.4314, allocations: 137.7 kB / 0.5706 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.4315, allocations: 23.84 kB / 0.5706 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/0.433, allocations: 406.7 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.433, allocations: 0 / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.433, allocations: 4 kB / 0.571 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.433, allocations: 4.5 kB / 0.571 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.4348, allocations: 0.619 MB / 0.5716 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4348, allocations: 4 kB / 0.5716 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/0.4352, allocations: 67.91 kB / 0.5717 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4352, allocations: 4 kB / 0.5717 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.4352, allocations: 0 / 0.5717 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.4352, allocations: 7.875 kB / 0.5717 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4352, allocations: 0 / 0.5717 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.4367, allocations: 494.7 kB / 0.5721 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.4367, allocations: 11.91 kB / 0.5721 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.4368, allocations: 8 kB / 0.5722 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/0.4372, allocations: 63.83 kB / 0.5722 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.4374, allocations: 47.94 kB / 0.5723 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.4374, allocations: 11.98 kB / 0.5723 GB, free: 9.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.4376, allocations: 184.6 kB / 0.5725 GB, free: 8.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4376, allocations: 0 / 0.5725 GB, free: 8.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.4379, allocations: 40 kB / 0.5725 GB, free: 8.887 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.001692/0.4396, allocations: 425.8 kB / 0.5729 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.4412, allocations: 0.5242 MB / 0.5734 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4412, allocations: 0 / 0.5734 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000726/0.442, allocations: 175.7 kB / 0.5736 GB, free: 7.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.4424, allocations: 39.58 kB / 0.5736 GB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.4434, allocations: 380.4 kB / 0.574 GB, free: 7.477 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.4435, allocations: 115.9 kB / 0.5741 GB, free: 7.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.4437, allocations: 19.44 kB / 0.5741 GB, free: 7.324 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4437, allocations: 0 / 0.5741 GB, free: 7.324 MB / 414.1 MB Notification: Performance of Templates: time 0.006083/0.4497, allocations: 3.267 MB / 0.5773 GB, free: 4.062 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins1/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.y,t_new.y,time,trapezoid1.y,trapezoid2.y [Calling sys.exit(0), Time elapsed: 8.04245456168428]