Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 109.3 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.2 MB / 250.8 MB, free: 8.801 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2237/0.2237, allocations: 46.88 MB / 351.8 MB, free: 7.309 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 91.84 kB / 496.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3433, allocations: 65.97 MB / 0.5494 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.00335/0.3467, allocations: 1.76 MB / 0.5511 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.3484, allocations: 1.029 MB / 0.5521 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.212e-05/0.3485, allocations: 7.938 kB / 0.5521 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.3489, allocations: 87.69 kB / 0.5522 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003312/0.3492, allocations: 115.6 kB / 0.5523 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.3494, allocations: 87.66 kB / 0.5524 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.3496, allocations: 123.7 kB / 0.5525 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.3497, allocations: 11.98 kB / 0.5525 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.3499, allocations: 59.75 kB / 0.5526 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.35, allocations: 83.61 kB / 0.5527 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.35, allocations: 4 kB / 0.5527 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.3501, allocations: 55.97 kB / 0.5527 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.513e-05/0.3502, allocations: 27.92 kB / 0.5527 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.3503, allocations: 43.67 kB / 0.5528 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.3505, allocations: 144 kB / 0.5529 GB, free: 1.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3505, allocations: 3.938 kB / 0.5529 GB, free: 1.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3505, allocations: 0 / 0.5529 GB, free: 1.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3505, allocations: 0 / 0.5529 GB, free: 1.84 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006091/0.3511, allocations: 446.4 kB / 0.5533 GB, free: 1.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.3512, allocations: 8.031 kB / 0.5534 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.3512, allocations: 16.84 kB / 0.5534 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.3515, allocations: 225.7 kB / 0.5536 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.3515, allocations: 8.375 kB / 0.5536 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.3515, allocations: 4.125 kB / 0.5536 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3517, allocations: 65.59 kB / 0.5537 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3517, allocations: 0 / 0.5537 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3517, allocations: 4 kB / 0.5537 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3517, allocations: 4 kB / 0.5537 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.413e-05/0.3518, allocations: 19.98 kB / 0.5537 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.3522, allocations: 304.7 kB / 0.554 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.3524, allocations: 66.48 kB / 0.554 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6e-05/0.3525, allocations: 20.97 kB / 0.5541 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.3525, allocations: 4 kB / 0.5541 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.3526, allocations: 63.39 kB / 0.5541 GB, free: 448 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 3.206e-06/0.3526, allocations: 4 kB / 0.5541 GB, free: 444 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007394/0.3534, allocations: 237.3 kB / 0.5544 GB, free: 200 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.3534, allocations: 59.33 kB / 0.5544 GB, free: 128 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.3537, allocations: 239 kB / 0.5546 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.3537, allocations: 29.7 kB / 0.5547 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/0.3538, allocations: 116 kB / 0.5548 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.3538, allocations: 35.8 kB / 0.5548 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.3539, allocations: 25.72 kB / 0.5548 GB, free: 15.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.354, allocations: 330.8 kB / 0.5552 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-05/0.3541, allocations: 35.86 kB / 0.5552 GB, free: 15.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.053e-05/0.3542, allocations: 45.7 kB / 0.5552 GB, free: 15.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.3543, allocations: 73.7 kB / 0.5553 GB, free: 15.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3543, allocations: 0 / 0.5553 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002201/0.3546, allocations: 145.5 kB / 0.5554 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3546, allocations: 4 kB / 0.5554 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3546, allocations: 0 / 0.5554 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3546, allocations: 0 / 0.5554 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.3547, allocations: 27.92 kB / 0.5555 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3547, allocations: 3.938 kB / 0.5555 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.3547, allocations: 4 kB / 0.5555 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.3547, allocations: 11.88 kB / 0.5555 GB, free: 14.97 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0001212/0.3548, allocations: 137.8 kB / 0.5556 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.3549, allocations: 15.94 kB / 0.5556 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002889/0.3552, allocations: 147 kB / 0.5558 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3552, allocations: 0 / 0.5558 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.3552, allocations: 7.938 kB / 0.5558 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3552, allocations: 0 / 0.5558 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.3557, allocations: 448 kB / 0.5562 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3557, allocations: 4.062 kB / 0.5562 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.3557, allocations: 19.94 kB / 0.5562 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3557, allocations: 4 kB / 0.5562 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.3558, allocations: 3.984 kB / 0.5562 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.3558, allocations: 4 kB / 0.5562 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3558, allocations: 0 / 0.5562 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.356, allocations: 233 kB / 0.5565 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.3561, allocations: 93 kB / 0.5566 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.3561, allocations: 8 kB / 0.5566 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.3562, allocations: 3.938 kB / 0.5566 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.3562, allocations: 11.98 kB / 0.5566 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.3562, allocations: 8 kB / 0.5566 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.3564, allocations: 172.4 kB / 0.5568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3564, allocations: 0 / 0.5568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.3567, allocations: 27.94 kB / 0.5568 GB, free: 13.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001781/0.3584, allocations: 0.5151 MB / 0.5573 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.3586, allocations: 67.92 kB / 0.5573 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3586, allocations: 0 / 0.5573 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.672e-05/0.3587, allocations: 35.92 kB / 0.5574 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.3591, allocations: 43.69 kB / 0.5574 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.3596, allocations: 300.5 kB / 0.5577 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.3599, allocations: 0.7165 MB / 0.5584 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.723e-05/0.36, allocations: 20.62 kB / 0.5584 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.36, allocations: 19.44 kB / 0.5584 GB, free: 11.94 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.36, allocations: 0 / 0.5584 GB, free: 11.94 MB / 414.1 MB Notification: Performance of Templates: time 0.00497/0.365, allocations: 2.041 MB / 0.5604 GB, free: 9.918 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,d2_t_new.y Variables in the result:d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,t_new.columns[1],t_new.extrapolation,t_new.isCsvExt,t_new.nHeaderLines,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time