Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.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.001945/0.001945, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002176/0.002176, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.486/1.486, allocations: 230.3 MB / 258 MB, free: 8.195 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.2823/0.2823, allocations: 46.94 MB / 361.4 MB, free: 4.375 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12") [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.002392/0.002392, allocations: 83.84 kB / 0.4972 GB, free: 7.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3647, allocations: 66.05 MB / 0.5617 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003747/0.3685, allocations: 1.949 MB / 0.5636 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.3705, allocations: 1.095 MB / 0.5647 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.3706, allocations: 3.938 kB / 0.5647 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.371, allocations: 47.69 kB / 0.5647 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003843/0.3713, allocations: 99.48 kB / 0.5648 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.3716, allocations: 99.59 kB / 0.5649 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.3719, allocations: 151.5 kB / 0.5651 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.372, allocations: 21.41 kB / 0.5651 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.3721, allocations: 63.72 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.3723, allocations: 63.62 kB / 0.5652 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.3723, allocations: 8 kB / 0.5652 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.3724, allocations: 43.98 kB / 0.5653 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.258e-05/0.3725, allocations: 23.92 kB / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.91e-05/0.3725, allocations: 59.59 kB / 0.5653 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.3729, allocations: 146.2 kB / 0.5655 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3729, allocations: 0 / 0.5655 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3729, allocations: 4 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.3729, allocations: 0 / 0.5655 GB, free: 0.5938 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008198/0.3737, allocations: 415 kB / 0.5659 GB, free: 156 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3737, allocations: 8.031 kB / 0.5659 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.021e-05/0.3738, allocations: 16.84 kB / 0.5659 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.3742, allocations: 179 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.3742, allocations: 384 / 0.5661 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.3742, allocations: 12.38 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.3745, allocations: 108.5 kB / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3745, allocations: 0 / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.3745, allocations: 7.938 kB / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3745, allocations: 4 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.3747, allocations: 47.91 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007001/0.3754, allocations: 488.1 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.3758, allocations: 82.66 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.3759, allocations: 32.84 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.3759, allocations: 4 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.3761, allocations: 91.3 kB / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3761, allocations: 0 / 0.5669 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004387/0.3766, allocations: 141.4 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.3766, allocations: 59.41 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.3769, allocations: 203 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.3769, allocations: 33.7 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.682e-05/0.377, allocations: 116.1 kB / 0.5674 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.377, allocations: 31.73 kB / 0.5675 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.3771, allocations: 29.7 kB / 0.5675 GB, free: 14.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3772, allocations: 322.8 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.312e-05/0.3773, allocations: 27.98 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.3775, allocations: 71.77 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.3777, allocations: 96.16 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3777, allocations: 0 / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002828/0.3779, allocations: 141.4 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.378, allocations: 6.188 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.378, allocations: 4 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.378, allocations: 0 / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3781, allocations: 23.98 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3781, allocations: 0 / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.3782, allocations: 15.88 kB / 0.5682 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.3782, allocations: 16.12 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001244/0.3783, allocations: 129.7 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.3784, allocations: 15.89 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.3787, allocations: 135.4 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.3787, allocations: 3.984 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3787, allocations: 0 / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3787, allocations: 3.938 kB / 0.5685 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.3789, allocations: 184.7 kB / 0.5686 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3789, allocations: 7.938 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.521e-05/0.379, allocations: 8 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.379, allocations: 4 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.379, allocations: 3.984 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.379, allocations: 0 / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.379, allocations: 0 / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.3795, allocations: 184.9 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.3795, allocations: 11.94 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.3795, allocations: 15.92 kB / 0.5689 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.149e-05/0.3796, allocations: 4 kB / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.3796, allocations: 7.922 kB / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.3796, allocations: 4 kB / 0.5689 GB, free: 12.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.3798, allocations: 143.2 kB / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3798, allocations: 0 / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.38, allocations: 27.94 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001591/0.3816, allocations: 402.6 kB / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.3819, allocations: 75.83 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3819, allocations: 0 / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.382, allocations: 39.86 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.3824, allocations: 43.28 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006172/0.383, allocations: 275.6 kB / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.3834, allocations: 0.7162 MB / 0.5705 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.184e-05/0.3835, allocations: 21.41 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.3835, allocations: 23.38 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3835, allocations: 0 / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of Templates: time 0.006147/0.3897, allocations: 1.947 MB / 0.5725 GB, free: 9.195 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.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.43008856382221]