Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.001285/0.001285, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.001853/0.001853, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.544/1.544, allocations: 230.3 MB / 258 MB, free: 8.18 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.2485/0.2485, allocations: 46.93 MB / 361.4 MB, free: 4.383 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-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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5") [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.003212/0.003212, allocations: 79.86 kB / 0.4972 GB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4366, allocations: 66.05 MB / 0.5617 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003663/0.4403, allocations: 1.78 MB / 0.5635 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.4422, allocations: 1.06 MB / 0.5645 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.55e-05/0.4423, allocations: 0 / 0.5645 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.4427, allocations: 107.6 kB / 0.5646 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.443, allocations: 127.5 kB / 0.5647 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.4433, allocations: 87.66 kB / 0.5648 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.4435, allocations: 143.6 kB / 0.565 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.4436, allocations: 17.25 kB / 0.565 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.4438, allocations: 67.75 kB / 0.565 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.4439, allocations: 79.72 kB / 0.5651 GB, free: 1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.4439, allocations: 4 kB / 0.5651 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.444, allocations: 55.98 kB / 0.5652 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.954e-05/0.4441, allocations: 43.78 kB / 0.5652 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.237e-05/0.4442, allocations: 63.55 kB / 0.5653 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.4445, allocations: 154.2 kB / 0.5654 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4445, allocations: 0 / 0.5654 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4445, allocations: 0 / 0.5654 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.4445, allocations: 0 / 0.5654 GB, free: 0.6875 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000649/0.4451, allocations: 397.2 kB / 0.5658 GB, free: 276 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.4452, allocations: 8.031 kB / 0.5658 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.4452, allocations: 20.83 kB / 0.5658 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.4456, allocations: 167.2 kB / 0.566 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.4456, allocations: 8.359 kB / 0.566 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.4456, allocations: 8.375 kB / 0.566 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.4458, allocations: 74.05 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.4458, allocations: 7.891 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4458, allocations: 0 / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4458, allocations: 0 / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.446, allocations: 35.97 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.4465, allocations: 303.8 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.4467, allocations: 66.55 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.139e-05/0.4468, allocations: 28.84 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.4468, allocations: 0 / 0.5665 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.447, allocations: 79.31 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.447, allocations: 4 kB / 0.5666 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009289/0.4479, allocations: 309.7 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.448, allocations: 55.67 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.4483, allocations: 263.7 kB / 0.5672 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.4483, allocations: 29.7 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.736e-05/0.4484, allocations: 120 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/0.4485, allocations: 47.64 kB / 0.5674 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.4485, allocations: 33.72 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4487, allocations: 330.8 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.884e-05/0.4488, allocations: 35.98 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.4489, allocations: 61.62 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.4491, allocations: 89.72 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4491, allocations: 0 / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003127/0.4494, allocations: 169.5 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4494, allocations: 8 kB / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4494, allocations: 0 / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.4494, allocations: 0 / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.4495, allocations: 39.92 kB / 0.5681 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.4495, allocations: 3.938 kB / 0.5681 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.4496, allocations: 112 / 0.5681 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.4496, allocations: 11.94 kB / 0.5681 GB, free: 13.73 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 (16): * Single equations (assignments): 16 * 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.0001427/0.4497, allocations: 144.8 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.4498, allocations: 15.86 kB / 0.5683 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/0.4502, allocations: 186.7 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.4502, allocations: 4 kB / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4502, allocations: 3.938 kB / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4502, allocations: 0 / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006848/0.4509, allocations: 475.1 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4509, allocations: 4.062 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.764e-05/0.4509, allocations: 23.92 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4509, allocations: 4 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.4509, allocations: 4 kB / 0.5689 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.451, allocations: 4 kB / 0.5689 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.451, allocations: 0 / 0.5689 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.4513, allocations: 265 kB / 0.5692 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.65e-05/0.4513, allocations: 15.89 kB / 0.5692 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.4514, allocations: 7.984 kB / 0.5692 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.792e-05/0.4514, allocations: 7.938 kB / 0.5692 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.4515, allocations: 11.98 kB / 0.5692 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.4515, allocations: 4 kB / 0.5692 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000192/0.4517, allocations: 197.5 kB / 0.5694 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4517, allocations: 0 / 0.5694 GB, free: 12.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.452, allocations: 35.89 kB / 0.5695 GB, free: 12.25 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 (14): * Single equations (assignments): 12 * 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.001967/0.4539, allocations: 0.5015 MB / 0.5699 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.4542, allocations: 99.84 kB / 0.57 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.4542, allocations: 0 / 0.57 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.4543, allocations: 51.86 kB / 0.5701 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.4548, allocations: 35.69 kB / 0.5701 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007705/0.4556, allocations: 324.7 kB / 0.5704 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.456, allocations: 0.7279 MB / 0.5711 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.31e-05/0.4561, allocations: 25.41 kB / 0.5712 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.4562, allocations: 23.42 kB / 0.5712 GB, free: 10.59 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4562, allocations: 4 kB / 0.5712 GB, free: 10.59 MB / 414.1 MB Notification: Performance of Templates: time 0.006019/0.4622, allocations: 2.286 MB / 0.5734 GB, free: 8.328 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.457343716174364]