Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002144/0.002144, allocations: 213.4 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.621/1.621, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3/0.3, allocations: 46.93 MB / 360.8 MB, free: 4.281 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 75.83 kB / 0.4967 GB, free: 7.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3854, allocations: 66.03 MB / 0.5612 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00422/0.3896, allocations: 1.741 MB / 0.5629 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.3918, allocations: 1.049 MB / 0.5639 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.542e-05/0.3919, allocations: 3.938 kB / 0.5639 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.3923, allocations: 55.69 kB / 0.564 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004496/0.3927, allocations: 99.59 kB / 0.5641 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.393, allocations: 83.66 kB / 0.5642 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.3933, allocations: 99.75 kB / 0.5642 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.3934, allocations: 4 kB / 0.5643 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.3936, allocations: 59.66 kB / 0.5643 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.3937, allocations: 27.84 kB / 0.5643 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.3937, allocations: 4 kB / 0.5643 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.3938, allocations: 39.98 kB / 0.5644 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.545e-05/0.3939, allocations: 31.91 kB / 0.5644 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.54e-05/0.394, allocations: 35.69 kB / 0.5644 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.3942, allocations: 133.8 kB / 0.5646 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3942, allocations: 7.938 kB / 0.5646 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3942, allocations: 0 / 0.5646 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.3943, allocations: 4 kB / 0.5646 GB, free: 0.918 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.0006261/0.3949, allocations: 357.4 kB / 0.5649 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3949, allocations: 8.031 kB / 0.5649 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.395, allocations: 16.89 kB / 0.5649 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.3953, allocations: 163.1 kB / 0.5651 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3953, allocations: 4.375 kB / 0.5651 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.3954, allocations: 8.125 kB / 0.5651 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.3955, allocations: 53.67 kB / 0.5652 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.3955, allocations: 7.875 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3955, allocations: 0 / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3955, allocations: 4 kB / 0.5652 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.167e-05/0.3956, allocations: 15.98 kB / 0.5652 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.3961, allocations: 268 kB / 0.5654 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.3962, allocations: 54.67 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.3963, allocations: 20.8 kB / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.3963, allocations: 0 / 0.5655 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.3965, allocations: 71.38 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3965, allocations: 0 / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005928/0.3971, allocations: 185.2 kB / 0.5658 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.3972, allocations: 51.41 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.3974, allocations: 239 kB / 0.566 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3974, allocations: 33.64 kB / 0.5661 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.129e-05/0.3975, allocations: 116.1 kB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.3976, allocations: 19.86 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.3976, allocations: 21.72 kB / 0.5662 GB, free: 15.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3978, allocations: 330.8 kB / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.853e-05/0.3978, allocations: 24 kB / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.3979, allocations: 37.7 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.398, allocations: 57.64 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.398, allocations: 0 / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001899/0.3982, allocations: 105.5 kB / 0.5668 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3982, allocations: 7.984 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3982, allocations: 8.016 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3983, allocations: 4 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/0.3984, allocations: 12 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3984, allocations: 0 / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.189e-05/0.3984, allocations: 12.3 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3984, allocations: 0 / 0.5668 GB, free: 14.45 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.000127/0.3985, allocations: 125.8 kB / 0.5669 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.3986, allocations: 19.89 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.3989, allocations: 131.1 kB / 0.5671 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.3989, allocations: 3.984 kB / 0.5671 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3989, allocations: 4 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.3989, allocations: 3.938 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005019/0.3994, allocations: 370.3 kB / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3994, allocations: 0 / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.3994, allocations: 11.98 kB / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.3994, allocations: 0 / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.3994, allocations: 11.97 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3994, allocations: 4 kB / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3994, allocations: 0 / 0.5674 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.3997, allocations: 200.2 kB / 0.5676 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.3997, allocations: 15.91 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.3998, allocations: 7.938 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.3998, allocations: 3.984 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.3999, allocations: 8 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.3999, allocations: 11.98 kB / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.4001, allocations: 167.4 kB / 0.5678 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4001, allocations: 0 / 0.5678 GB, free: 13.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.4004, allocations: 27.92 kB / 0.5679 GB, free: 13.25 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.00182/0.4022, allocations: 468.3 kB / 0.5683 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.4024, allocations: 51.92 kB / 0.5684 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4024, allocations: 0 / 0.5684 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.832e-05/0.4025, allocations: 31.91 kB / 0.5684 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.4028, allocations: 31.72 kB / 0.5684 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.4034, allocations: 267.3 kB / 0.5687 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.4039, allocations: 0.708 MB / 0.5694 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.601e-05/0.4039, allocations: 17.28 kB / 0.5694 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.404, allocations: 23.42 kB / 0.5694 GB, free: 11.79 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.404, allocations: 4 kB / 0.5694 GB, free: 11.79 MB / 414.1 MB Notification: Performance of Templates: time 0.005681/0.4096, allocations: 1.793 MB / 0.5712 GB, free: 10.02 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.686736261006445]