Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001338/0.001338, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001277, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 230.2 MB / 250.9 MB, free: 8.777 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.2166/0.2166, allocations: 46.89 MB / 351.8 MB, free: 7.34 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.002248/0.002248, allocations: 75.88 kB / 496.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3562, allocations: 65.98 MB / 0.5494 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003072/0.3592, allocations: 1.741 MB / 0.5511 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.3609, allocations: 1.029 MB / 0.5521 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.768e-05/0.3609, allocations: 0 / 0.5521 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.3612, allocations: 43.77 kB / 0.5521 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.3614, allocations: 91.55 kB / 0.5522 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.3616, allocations: 79.73 kB / 0.5523 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.3618, allocations: 107.6 kB / 0.5524 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.196e-05/0.3619, allocations: 8 kB / 0.5524 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.852e-05/0.362, allocations: 43.78 kB / 0.5524 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/0.362, allocations: 35.78 kB / 0.5525 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.3621, allocations: 4 kB / 0.5525 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.747e-05/0.3621, allocations: 39.98 kB / 0.5525 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.3622, allocations: 31.84 kB / 0.5525 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/0.3622, allocations: 35.73 kB / 0.5526 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.3624, allocations: 120 kB / 0.5527 GB, free: 2.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3624, allocations: 4 kB / 0.5527 GB, free: 2.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3624, allocations: 0 / 0.5527 GB, free: 2.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.3624, allocations: 0 / 0.5527 GB, free: 2.105 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.0005025/0.363, allocations: 414.7 kB / 0.5531 GB, free: 1.652 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.363, allocations: 12.03 kB / 0.5531 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.363, allocations: 12.84 kB / 0.5531 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.3633, allocations: 212.1 kB / 0.5533 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3633, allocations: 384 / 0.5533 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.3633, allocations: 12.11 kB / 0.5533 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.3635, allocations: 61.61 kB / 0.5534 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.3635, allocations: 0 / 0.5534 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.3635, allocations: 3.938 kB / 0.5534 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3635, allocations: 0 / 0.5534 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.178e-05/0.3636, allocations: 19.98 kB / 0.5534 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.3639, allocations: 284.9 kB / 0.5537 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.3641, allocations: 66.61 kB / 0.5537 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.946e-05/0.3641, allocations: 16.86 kB / 0.5538 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.3641, allocations: 0 / 0.5538 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.3643, allocations: 67.39 kB / 0.5538 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3643, allocations: 0 / 0.5538 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004888/0.3648, allocations: 177.3 kB / 0.554 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.3648, allocations: 55.41 kB / 0.554 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.365, allocations: 187.3 kB / 0.5542 GB, free: 348 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.365, allocations: 29.7 kB / 0.5542 GB, free: 312 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.365, allocations: 100.1 kB / 0.5543 GB, free: 208 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.3651, allocations: 19.86 kB / 0.5544 GB, free: 188 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.3651, allocations: 25.7 kB / 0.5544 GB, free: 156 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3653, allocations: 326.8 kB / 0.5547 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.909e-05/0.3653, allocations: 24 kB / 0.5547 GB, free: 15.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.884e-05/0.3654, allocations: 37.64 kB / 0.5548 GB, free: 15.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.3655, allocations: 61.77 kB / 0.5548 GB, free: 15.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3655, allocations: 0 / 0.5548 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001937/0.3657, allocations: 109.5 kB / 0.5549 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3657, allocations: 8.188 kB / 0.5549 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3657, allocations: 4.031 kB / 0.5549 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.3657, allocations: 3.938 kB / 0.5549 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.017e-05/0.3658, allocations: 12 kB / 0.5549 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3658, allocations: 4 kB / 0.555 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.3659, allocations: 7.922 kB / 0.555 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.3659, allocations: 4 kB / 0.555 GB, free: 15.54 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.0001002/0.366, allocations: 125.8 kB / 0.5551 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.366, allocations: 7.953 kB / 0.5551 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.3662, allocations: 115 kB / 0.5552 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3662, allocations: 4 kB / 0.5552 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3662, allocations: 0 / 0.5552 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3662, allocations: 3.938 kB / 0.5552 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.3667, allocations: 395.2 kB / 0.5556 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3667, allocations: 4 kB / 0.5556 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.3667, allocations: 8 kB / 0.5556 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3667, allocations: 0 / 0.5556 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3667, allocations: 7.938 kB / 0.5556 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3667, allocations: 7.969 kB / 0.5556 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3667, allocations: 4 kB / 0.5556 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.367, allocations: 196.3 kB / 0.5558 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/0.367, allocations: 89 kB / 0.5559 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.367, allocations: 12.31 kB / 0.5559 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.3671, allocations: 0 / 0.5559 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.3671, allocations: 15.98 kB / 0.5559 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.3672, allocations: 4 kB / 0.5559 GB, free: 14.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.3673, allocations: 140.9 kB / 0.5561 GB, free: 14.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3673, allocations: 0 / 0.5561 GB, free: 14.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.3675, allocations: 23.92 kB / 0.5561 GB, free: 14.28 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.001582/0.3691, allocations: 473.2 kB / 0.5565 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.3693, allocations: 51.97 kB / 0.5566 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3693, allocations: 0 / 0.5566 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.3693, allocations: 27.94 kB / 0.5566 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.3697, allocations: 26.62 kB / 0.5566 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000403/0.3701, allocations: 223.3 kB / 0.5568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.3704, allocations: 0.7041 MB / 0.5575 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.387e-05/0.3704, allocations: 12.88 kB / 0.5575 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.3705, allocations: 15.44 kB / 0.5576 GB, free: 12.86 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3705, allocations: 0 / 0.5576 GB, free: 12.86 MB / 414.1 MB Notification: Performance of Templates: time 0.004458/0.3749, allocations: 1.763 MB / 0.5593 GB, free: 11.11 MB / 414.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches