Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001522/0.001522, allocations: 109.4 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.001433/0.001433, 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.466/1.466, allocations: 230.2 MB / 250.9 MB, free: 8.805 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.2334/0.2334, allocations: 46.89 MB / 351.8 MB, free: 7.352 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.002229/0.002229, allocations: 83.88 kB / 496.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3636, allocations: 65.97 MB / 0.5494 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003639/0.3672, allocations: 1.743 MB / 0.5511 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.3692, allocations: 1.04 MB / 0.5521 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.015e-05/0.3692, allocations: 0 / 0.5521 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.3696, allocations: 43.75 kB / 0.5521 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.3699, allocations: 95.59 kB / 0.5522 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.3701, allocations: 79.67 kB / 0.5523 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.3703, allocations: 103.7 kB / 0.5524 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.975e-05/0.3703, allocations: 4 kB / 0.5524 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.3704, allocations: 55.72 kB / 0.5524 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.02e-05/0.3705, allocations: 35.83 kB / 0.5525 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.3705, allocations: 4 kB / 0.5525 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.621e-05/0.3706, allocations: 36 kB / 0.5525 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.3707, allocations: 23.89 kB / 0.5525 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/0.3708, allocations: 39.69 kB / 0.5526 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.371, allocations: 120.1 kB / 0.5527 GB, free: 2.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.371, allocations: 3.938 kB / 0.5527 GB, free: 2.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.371, allocations: 4 kB / 0.5527 GB, free: 2.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.371, allocations: 0 / 0.5527 GB, free: 2.109 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006651/0.3717, allocations: 426.6 kB / 0.5531 GB, free: 1.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3717, allocations: 15.97 kB / 0.5531 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.3718, allocations: 8.891 kB / 0.5531 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.3721, allocations: 220.1 kB / 0.5533 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3721, allocations: 4.375 kB / 0.5533 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.3722, allocations: 8.109 kB / 0.5533 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.3723, allocations: 53.67 kB / 0.5534 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.3724, allocations: 7.875 kB / 0.5534 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.3724, allocations: 8 kB / 0.5534 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3724, allocations: 0 / 0.5534 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.462e-05/0.3725, allocations: 15.98 kB / 0.5534 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.373, allocations: 292.8 kB / 0.5537 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.3733, allocations: 54.67 kB / 0.5538 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.098e-05/0.3734, allocations: 20.8 kB / 0.5538 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.3734, allocations: 4 kB / 0.5538 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.3736, allocations: 67.39 kB / 0.5539 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.714e-06/0.3736, allocations: 0 / 0.5539 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008224/0.3744, allocations: 177.3 kB / 0.554 GB, free: 0.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.3744, allocations: 51.41 kB / 0.5541 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.3747, allocations: 222 kB / 0.5543 GB, free: 300 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.3748, allocations: 29.7 kB / 0.5543 GB, free: 264 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.899e-05/0.3749, allocations: 104.1 kB / 0.5544 GB, free: 156 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.3749, allocations: 23.84 kB / 0.5544 GB, free: 132 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.375, allocations: 25.7 kB / 0.5545 GB, free: 100 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.3752, allocations: 326.8 kB / 0.5548 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.79e-05/0.3753, allocations: 15.94 kB / 0.5548 GB, free: 15.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.3754, allocations: 41.7 kB / 0.5548 GB, free: 15.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.3756, allocations: 61.64 kB / 0.5549 GB, free: 15.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3756, allocations: 0 / 0.5549 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002834/0.3758, allocations: 101.5 kB / 0.555 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3759, allocations: 4 kB / 0.555 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3759, allocations: 3.984 kB / 0.555 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.3759, allocations: 7.984 kB / 0.555 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.376, allocations: 12 kB / 0.555 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.376, allocations: 4.031 kB / 0.555 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.596e-05/0.3761, allocations: 15.88 kB / 0.555 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.3761, allocations: 0 / 0.555 GB, free: 15.49 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 (10): * Single equations (assignments): 10 * 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.000151/0.3763, allocations: 129.8 kB / 0.5551 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.3763, allocations: 11.91 kB / 0.5552 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.3766, allocations: 123.1 kB / 0.5553 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.3766, allocations: 0 / 0.5553 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3766, allocations: 0 / 0.5553 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.3766, allocations: 7.938 kB / 0.5553 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006531/0.3773, allocations: 395.5 kB / 0.5557 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3773, allocations: 0 / 0.5557 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.3773, allocations: 11.94 kB / 0.5557 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.3774, allocations: 4 kB / 0.5557 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.3774, allocations: 7.938 kB / 0.5557 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3774, allocations: 4.359 kB / 0.5557 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3774, allocations: 0 / 0.5557 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.3777, allocations: 212.2 kB / 0.5559 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.3778, allocations: 81.06 kB / 0.556 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.3779, allocations: 15.94 kB / 0.556 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.378, allocations: 0 / 0.556 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.3781, allocations: 7.984 kB / 0.556 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.3781, allocations: 4 kB / 0.556 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.3783, allocations: 168.8 kB / 0.5562 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3783, allocations: 0 / 0.5562 GB, free: 14.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000473/0.3788, allocations: 27.92 kB / 0.5562 GB, free: 14.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002387/0.3812, allocations: 457 kB / 0.5566 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.3815, allocations: 51.92 kB / 0.5567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3815, allocations: 0 / 0.5567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.3816, allocations: 31.92 kB / 0.5567 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.3821, allocations: 31.22 kB / 0.5567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007463/0.3829, allocations: 238.7 kB / 0.557 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.3834, allocations: 0.712 MB / 0.5577 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.835e-05/0.3834, allocations: 16.88 kB / 0.5577 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.4e-05/0.3835, allocations: 15.44 kB / 0.5577 GB, free: 12.75 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3835, allocations: 0 / 0.5577 GB, free: 12.75 MB / 414.1 MB Notification: Performance of Templates: time 0.007505/0.391, allocations: 1.77 MB / 0.5594 GB, free: 11 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches