Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.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.001654/0.001654, 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.002051/0.002051, allocations: 212 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.578/1.578, allocations: 230.3 MB / 258 MB, free: 8.23 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.259/0.259, 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32") [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.002332/0.002332, allocations: 79.88 kB / 0.4972 GB, free: 7.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4929/0.4953, allocations: 66.04 MB / 0.5617 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003545/0.4988, allocations: 1.748 MB / 0.5634 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.5007, allocations: 1.052 MB / 0.5645 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.5008, allocations: 0 / 0.5645 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.5012, allocations: 39.77 kB / 0.5645 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003849/0.5015, allocations: 99.53 kB / 0.5646 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.5018, allocations: 75.73 kB / 0.5647 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.502, allocations: 111.6 kB / 0.5648 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.5022, allocations: 7.984 kB / 0.5648 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.5023, allocations: 43.8 kB / 0.5648 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.19e-05/0.5024, allocations: 35.78 kB / 0.5649 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.5024, allocations: 7.938 kB / 0.5649 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.5025, allocations: 39.98 kB / 0.5649 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.771e-05/0.5026, allocations: 19.92 kB / 0.5649 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.182e-05/0.5026, allocations: 35.73 kB / 0.565 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.5029, allocations: 126 kB / 0.5651 GB, free: 1.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5029, allocations: 0 / 0.5651 GB, free: 1.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.5029, allocations: 7.938 kB / 0.5651 GB, free: 1.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.5029, allocations: 0 / 0.5651 GB, free: 1.02 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.0006122/0.5035, allocations: 353.4 kB / 0.5654 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.5035, allocations: 12.03 kB / 0.5654 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.5036, allocations: 8.891 kB / 0.5654 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.5038, allocations: 151 kB / 0.5656 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.5039, allocations: 384 / 0.5656 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.5039, allocations: 4.375 kB / 0.5656 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.5041, allocations: 61.98 kB / 0.5656 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5041, allocations: 0 / 0.5656 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.5041, allocations: 3.984 kB / 0.5656 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.5041, allocations: 4 kB / 0.5657 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.096e-05/0.5042, allocations: 19.92 kB / 0.5657 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.5046, allocations: 263.9 kB / 0.5659 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.5048, allocations: 54.77 kB / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.896e-05/0.5048, allocations: 20.84 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.5049, allocations: 3.906 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.505, allocations: 71.33 kB / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.505, allocations: 0 / 0.5661 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005625/0.5056, allocations: 173.3 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.5056, allocations: 55.41 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.5059, allocations: 198.3 kB / 0.5665 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.5059, allocations: 25.7 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.506, allocations: 104.1 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.506, allocations: 27.73 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.506, allocations: 29.7 kB / 0.5667 GB, free: 15.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.5062, allocations: 326.8 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.5063, allocations: 20 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.915e-05/0.5064, allocations: 37.7 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.5065, allocations: 61.64 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5065, allocations: 0 / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002048/0.5067, allocations: 105.6 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5067, allocations: 4 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5067, allocations: 4 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.5067, allocations: 4.031 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.823e-05/0.5068, allocations: 15.94 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.5068, allocations: 192 / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.5069, allocations: 7.984 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.5069, allocations: 7.938 kB / 0.5672 GB, free: 14.63 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.000122/0.507, allocations: 129.8 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.507, allocations: 11.91 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.5073, allocations: 123.1 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.5073, allocations: 4 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5073, allocations: 0 / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5073, allocations: 0 / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004802/0.5078, allocations: 370.3 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5078, allocations: 0 / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.5078, allocations: 8.375 kB / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5078, allocations: 0 / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.5078, allocations: 4 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.5078, allocations: 7.938 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5078, allocations: 4.031 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.5081, allocations: 208.2 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.5081, allocations: 7.953 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.5081, allocations: 4 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.5082, allocations: 7.938 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.5083, allocations: 7.984 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.5083, allocations: 11.94 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.5084, allocations: 152.2 kB / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5084, allocations: 0 / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.5087, allocations: 23.94 kB / 0.5683 GB, free: 13.47 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.001657/0.5104, allocations: 449.9 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.5106, allocations: 55.91 kB / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5106, allocations: 4 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.367e-05/0.5106, allocations: 27.92 kB / 0.5688 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.511, allocations: 33.98 kB / 0.5688 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/0.5115, allocations: 238.8 kB / 0.569 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.5119, allocations: 0.7041 MB / 0.5697 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.542e-05/0.512, allocations: 17.27 kB / 0.5697 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.512, allocations: 15.44 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.512, allocations: 0 / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of Templates: time 0.005419/0.5175, allocations: 1.776 MB / 0.5715 GB, free: 10.28 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.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.722130151465535]