Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.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.001435/0.001435, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002056/0.002056, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.558/1.558, allocations: 230.3 MB / 258 MB, free: 8.227 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.246/0.246, allocations: 46.94 MB / 361.4 MB, free: 4.391 MB / 286.1 MB " [Timeout remaining time 179] 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "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.003021/0.003021, allocations: 87.84 kB / 0.4972 GB, free: 7.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4343, allocations: 66.04 MB / 0.5617 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003198/0.4375, allocations: 1.737 MB / 0.5634 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.4394, allocations: 1.057 MB / 0.5645 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.941e-05/0.4395, allocations: 0 / 0.5645 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.4398, allocations: 35.77 kB / 0.5645 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.4401, allocations: 95.55 kB / 0.5646 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.4403, allocations: 79.67 kB / 0.5647 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.4406, allocations: 111.7 kB / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.4407, allocations: 4 kB / 0.5648 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.4408, allocations: 51.78 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.962e-05/0.4409, allocations: 35.78 kB / 0.5648 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.4409, allocations: 4 kB / 0.5649 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.441, allocations: 39.98 kB / 0.5649 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.897e-05/0.4411, allocations: 19.86 kB / 0.5649 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.415e-05/0.4411, allocations: 39.73 kB / 0.5649 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.4414, allocations: 122 kB / 0.5651 GB, free: 1.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4414, allocations: 0 / 0.5651 GB, free: 1.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4414, allocations: 0 / 0.5651 GB, free: 1.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.4414, allocations: 0 / 0.5651 GB, free: 1.066 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.0006181/0.442, allocations: 341.6 kB / 0.5654 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.442, allocations: 12.03 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.4421, allocations: 12.84 kB / 0.5654 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.4424, allocations: 159.1 kB / 0.5656 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.4424, allocations: 384 / 0.5656 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.4424, allocations: 4.375 kB / 0.5656 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.4426, allocations: 57.98 kB / 0.5656 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4426, allocations: 0 / 0.5656 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.4426, allocations: 4 kB / 0.5656 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4426, allocations: 0 / 0.5656 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.718e-05/0.4427, allocations: 19.98 kB / 0.5656 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.4431, allocations: 256 kB / 0.5659 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.4433, allocations: 54.56 kB / 0.5659 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.938e-05/0.4434, allocations: 24.91 kB / 0.566 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.4434, allocations: 4 kB / 0.566 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.4436, allocations: 63.39 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.146e-06/0.4436, allocations: 7.922 kB / 0.566 GB, free: 15.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005679/0.4442, allocations: 181.3 kB / 0.5662 GB, free: 15.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.4442, allocations: 55.41 kB / 0.5663 GB, free: 15.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.4444, allocations: 183.3 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.4444, allocations: 29.7 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/0.4445, allocations: 100.1 kB / 0.5666 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.4445, allocations: 23.84 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.4446, allocations: 25.66 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4447, allocations: 326.8 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.385e-05/0.4448, allocations: 23.98 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-05/0.4448, allocations: 33.7 kB / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.445, allocations: 65.69 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.445, allocations: 0 / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001983/0.4452, allocations: 105.6 kB / 0.5671 GB, free: 14.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4452, allocations: 8 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4452, allocations: 0 / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.4452, allocations: 0 / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.213e-05/0.4453, allocations: 15.98 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.4453, allocations: 11.97 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.83e-05/0.4454, allocations: 0 / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.4454, allocations: 4 kB / 0.5672 GB, free: 14.7 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.0001173/0.4455, allocations: 133.7 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.4455, allocations: 7.953 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.4458, allocations: 115 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4458, allocations: 4 kB / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4458, allocations: 0 / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4458, allocations: 0 / 0.5674 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.4462, allocations: 366.3 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.4462, allocations: 4 kB / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.479e-05/0.4463, allocations: 11.92 kB / 0.5678 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4463, allocations: 4 kB / 0.5678 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.4463, allocations: 4 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4463, allocations: 3.938 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.4463, allocations: 4 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.4466, allocations: 200.4 kB / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.4466, allocations: 11.91 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.4466, allocations: 4.188 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.4467, allocations: 8.297 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.4467, allocations: 11.88 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.4467, allocations: 11.98 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.4469, allocations: 141.6 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4469, allocations: 0 / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.4471, allocations: 20 kB / 0.5682 GB, free: 13.56 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.001737/0.4489, allocations: 464 kB / 0.5686 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.4491, allocations: 51.92 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4491, allocations: 0 / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.753e-05/0.4492, allocations: 27.98 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.4496, allocations: 38.28 kB / 0.5688 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.4501, allocations: 219.2 kB / 0.569 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.4505, allocations: 0.712 MB / 0.5697 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.265e-05/0.4506, allocations: 12.97 kB / 0.5697 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.4506, allocations: 15.44 kB / 0.5697 GB, free: 12.14 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4506, allocations: 0 / 0.5697 GB, free: 12.14 MB / 414.1 MB Notification: Performance of Templates: time 0.005431/0.456, allocations: 1.778 MB / 0.5714 GB, free: 10.38 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.499627027660608]