Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.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.001333/0.001333, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001518/0.001518, allocations: 217.7 kB / 24.47 MB, free: 4.359 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.622/1.622, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2644/0.2644, allocations: 46.9 MB / 361.1 MB, free: 4.625 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73") [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.002414/0.002414, allocations: 83.86 kB / 0.4969 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4435, allocations: 65.98 MB / 0.5613 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.00376/0.4472, allocations: 1.938 MB / 0.5632 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.4496, allocations: 1.15 MB / 0.5643 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.4497, allocations: 4 kB / 0.5643 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005675/0.4503, allocations: 163.5 kB / 0.5645 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005402/0.4508, allocations: 183.2 kB / 0.5646 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.4512, allocations: 119.6 kB / 0.5648 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.4515, allocations: 243.3 kB / 0.565 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.4517, allocations: 25.67 kB / 0.565 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.4519, allocations: 115.5 kB / 0.5651 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.4521, allocations: 143.5 kB / 0.5653 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.4521, allocations: 8 kB / 0.5653 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.4523, allocations: 63.98 kB / 0.5653 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.4524, allocations: 55.7 kB / 0.5654 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.4525, allocations: 79.42 kB / 0.5655 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.4529, allocations: 229.6 kB / 0.5657 GB, free: 496 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4529, allocations: 4 kB / 0.5657 GB, free: 492 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4529, allocations: 0 / 0.5657 GB, free: 492 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.4529, allocations: 0 / 0.5657 GB, free: 492 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00104/0.454, allocations: 0.5523 MB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.454, allocations: 8.031 kB / 0.5662 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.4541, allocations: 28.75 kB / 0.5663 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/0.4546, allocations: 279.7 kB / 0.5665 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.4546, allocations: 8.375 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.4547, allocations: 12.38 kB / 0.5665 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.455, allocations: 115.6 kB / 0.5667 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.455, allocations: 0 / 0.5667 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.455, allocations: 4 kB / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.455, allocations: 0 / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.4552, allocations: 43.97 kB / 0.5667 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006536/0.4558, allocations: 476.7 kB / 0.5672 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.4562, allocations: 117.2 kB / 0.5673 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.851e-05/0.4563, allocations: 37.83 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.4563, allocations: 8 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.4566, allocations: 125.2 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.4566, allocations: 0 / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001394/0.458, allocations: 0.4975 MB / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.4581, allocations: 81.11 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004323/0.4585, allocations: 367.3 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.4585, allocations: 37.69 kB / 0.5684 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.4586, allocations: 144.5 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.989e-05/0.4587, allocations: 75.38 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.316e-05/0.4588, allocations: 45.7 kB / 0.5686 GB, free: 13.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.459, allocations: 338.8 kB / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.4591, allocations: 59.97 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.4593, allocations: 91.33 kB / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.4595, allocations: 159.3 kB / 0.5693 GB, free: 12.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4595, allocations: 7.938 kB / 0.5693 GB, free: 12.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004105/0.4599, allocations: 233.6 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.46, allocations: 7.984 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.46, allocations: 0 / 0.5695 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.46, allocations: 7.938 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.4601, allocations: 43.92 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4602, allocations: 0 / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.211e-05/0.4602, allocations: 12 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.4603, allocations: 16.05 kB / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001767/0.4604, allocations: 153.8 kB / 0.5697 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.4605, allocations: 27.81 kB / 0.5697 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005415/0.461, allocations: 259.6 kB / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.461, allocations: 7.938 kB / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.461, allocations: 0 / 0.57 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.4611, allocations: 7.984 kB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.4621, allocations: 0.7195 MB / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.4621, allocations: 4 kB / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.57e-05/0.4622, allocations: 31.92 kB / 0.5707 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4622, allocations: 0 / 0.5707 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.4622, allocations: 8 kB / 0.5707 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4622, allocations: 4.125 kB / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.4622, allocations: 7.984 kB / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005371/0.4628, allocations: 429.2 kB / 0.5712 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/0.4629, allocations: 105 kB / 0.5713 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.4629, allocations: 8 kB / 0.5713 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.463, allocations: 4 kB / 0.5713 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.4631, allocations: 24.09 kB / 0.5713 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.4631, allocations: 12 kB / 0.5713 GB, free: 10.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002981/0.4634, allocations: 281.8 kB / 0.5716 GB, free: 10.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4634, allocations: 4 kB / 0.5716 GB, free: 10.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003561/0.4638, allocations: 47.92 kB / 0.5716 GB, free: 9.969 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002028/0.4658, allocations: 0.5176 MB / 0.5721 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003736/0.4662, allocations: 143.8 kB / 0.5723 GB, free: 9.512 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4662, allocations: 0 / 0.5723 GB, free: 9.512 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.4663, allocations: 79.78 kB / 0.5724 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005845/0.4669, allocations: 57.14 kB / 0.5724 GB, free: 9.379 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.4679, allocations: 0.5234 MB / 0.5729 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.4684, allocations: 0.764 MB / 0.5737 GB, free: 8.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.4685, allocations: 41.91 kB / 0.5737 GB, free: 7.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.4686, allocations: 31.42 kB / 0.5737 GB, free: 7.945 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4686, allocations: 0 / 0.5737 GB, free: 7.945 MB / 414.1 MB Notification: Performance of Templates: time 0.008023/0.4766, allocations: 3.205 MB / 0.5769 GB, free: 4.762 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.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.67935407999903]