Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.001684/0.001684, allocations: 77.16 kB / 19.93 MB, free: 1.781 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.001534/0.001534, allocations: 162.4 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2315/0.2315, allocations: 32.38 MB / 269.6 MB, free: 4.676 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 407.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.48e-05, allocations: 2.281 kB / 407.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.005074/0.005108, allocations: 1.678 MB / 409.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.007378, allocations: 0.784 MB / 409.9 MB, free: 476 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.007506, allocations: 0 / 409.9 MB, free: 476 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004717/0.007978, allocations: 35.84 kB / 409.9 MB, free: 440 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004103/0.008388, allocations: 63.62 kB / 410 MB, free: 376 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.008857, allocations: 83.45 kB / 410.1 MB, free: 296 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.009153, allocations: 103.7 kB / 410.2 MB, free: 192 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.00928, allocations: 8.234 kB / 410.2 MB, free: 184 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.009439, allocations: 51.78 kB / 410.2 MB, free: 132 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.009561, allocations: 31.89 kB / 410.3 MB, free: 100 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.009593, allocations: 4 kB / 410.3 MB, free: 96 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.009772, allocations: 43.92 kB / 410.3 MB, free: 52 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.015e-05/0.009862, allocations: 19.92 kB / 410.3 MB, free: 32 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.995e-05/0.009932, allocations: 23.86 kB / 410.4 MB, free: 8 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.01028, allocations: 111.6 kB / 410.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.01028, allocations: 3.938 kB / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01028, allocations: 0 / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.01029, allocations: 0 / 410.5 MB, free: 15.89 MB / 350.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.0007777/0.01107, allocations: 349.6 kB / 410.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.01112, allocations: 8.031 kB / 410.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/0.01119, allocations: 12.84 kB / 410.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.01158, allocations: 151.2 kB / 411 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.0116, allocations: 384 / 411 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.01163, allocations: 4.375 kB / 411 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.01187, allocations: 58.22 kB / 411 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.01189, allocations: 7.875 kB / 411.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.0119, allocations: 4 kB / 411.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.01191, allocations: 4 kB / 411.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.01204, allocations: 19.98 kB / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.01259, allocations: 236.4 kB / 411.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.01289, allocations: 54.69 kB / 411.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.01301, allocations: 24.78 kB / 411.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.01303, allocations: 0 / 411.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.01327, allocations: 75.33 kB / 411.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.01327, allocations: 0 / 411.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00098/0.01425, allocations: 181.4 kB / 411.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/0.01433, allocations: 59.34 kB / 411.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.01471, allocations: 203.3 kB / 411.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.01474, allocations: 25.7 kB / 411.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.01488, allocations: 108.1 kB / 412 MB, free: 14.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.01494, allocations: 27.78 kB / 412.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.01501, allocations: 25.7 kB / 412.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.01524, allocations: 322.8 kB / 412.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.892e-05/0.01534, allocations: 20 kB / 412.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.01545, allocations: 33.7 kB / 412.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.01569, allocations: 73.58 kB / 412.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.01569, allocations: 0 / 412.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003401/0.01603, allocations: 101.7 kB / 412.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.01606, allocations: 4 kB / 412.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.01606, allocations: 4 kB / 412.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.01608, allocations: 0 / 412.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.01628, allocations: 24.11 kB / 412.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.01628, allocations: 0 / 412.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.15e-05/0.01636, allocations: 7.938 kB / 412.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.01638, allocations: 8.031 kB / 412.7 MB, free: 13.52 MB / 350.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.0001801/0.01656, allocations: 129.8 kB / 412.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.0166, allocations: 15.91 kB / 412.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004523/0.01706, allocations: 119.1 kB / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.01706, allocations: 0 / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.01707, allocations: 0 / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.01707, allocations: 0 / 412.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008043/0.01788, allocations: 358.8 kB / 413.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.01788, allocations: 0 / 413.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/0.01794, allocations: 12.03 kB / 413.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.01795, allocations: 0 / 413.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.01796, allocations: 4 kB / 413.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.01797, allocations: 4.359 kB / 413.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01797, allocations: 0 / 413.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.01842, allocations: 212.2 kB / 413.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.01847, allocations: 15.91 kB / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.01852, allocations: 8 kB / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.01865, allocations: 3.984 kB / 413.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.912e-05/0.01873, allocations: 11.92 kB / 413.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-05/0.01878, allocations: 15.98 kB / 413.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002648/0.01905, allocations: 155.9 kB / 413.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01905, allocations: 0 / 413.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004887/0.01953, allocations: 19.94 kB / 413.7 MB, free: 12.38 MB / 350.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 (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.002923/0.02246, allocations: 496.1 kB / 414.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003299/0.02279, allocations: 59.91 kB / 414.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.02279, allocations: 0 / 414.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.02293, allocations: 27.98 kB / 414.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000629/0.02356, allocations: 43.75 kB / 414.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000818/0.02438, allocations: 230 kB / 414.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.02454, allocations: 96.42 kB / 414.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.716e-05/0.02461, allocations: 16.34 kB / 414.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.02468, allocations: 20.5 kB / 414.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.02469, allocations: 0 / 414.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Templates: time 0.007843/0.03253, allocations: 1.831 MB / 416.5 MB, free: 9.633 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.226145122200251]