Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.001401/0.001401, allocations: 73.33 kB / 19.93 MB, free: 1.77 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.002064/0.002064, allocations: 173.8 kB / 23.22 MB, free: 4.887 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.705/1.705, allocations: 158.6 MB / 185 MB, free: 6.391 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.2371/0.2371, allocations: 32.39 MB / 269.6 MB, free: 4.645 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.041e-06/6.041e-06, allocations: 4 kB / 407.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.537e-05, allocations: 2.281 kB / 407.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.004807/0.004842, allocations: 1.678 MB / 409.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003751/0.008593, allocations: 1.478 MB / 410.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.504e-05/0.008688, allocations: 0 / 410.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000499/0.009187, allocations: 43.7 kB / 410.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004125/0.009599, allocations: 55.7 kB / 410.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.01002, allocations: 91.62 kB / 410.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.01028, allocations: 111.5 kB / 410.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.01042, allocations: 8.172 kB / 410.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.01057, allocations: 47.84 kB / 410.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.01073, allocations: 31.89 kB / 411 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.01077, allocations: 4 kB / 411 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.01095, allocations: 63.92 kB / 411 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.299e-05/0.01103, allocations: 23.84 kB / 411.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.104e-05/0.01111, allocations: 19.98 kB / 411.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.0115, allocations: 123.5 kB / 411.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.01151, allocations: 0 / 411.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.01151, allocations: 0 / 411.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.01151, allocations: 0 / 411.2 MB, free: 15.14 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.0008179/0.01233, allocations: 333.7 kB / 411.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.01238, allocations: 8.031 kB / 411.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.149e-05/0.01245, allocations: 8.891 kB / 411.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.01293, allocations: 149.5 kB / 411.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.01295, allocations: 8.359 kB / 411.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.01298, allocations: 384 / 411.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.01327, allocations: 93.66 kB / 411.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.01329, allocations: 7.922 kB / 411.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.0133, allocations: 4 kB / 411.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.01331, allocations: 0 / 411.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.01343, allocations: 23.98 kB / 411.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008/0.01423, allocations: 224.5 kB / 412 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.0145, allocations: 66.67 kB / 412.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.01458, allocations: 20.8 kB / 412.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.0146, allocations: 3.938 kB / 412.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.01482, allocations: 75.33 kB / 412.2 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.853e-06/0.01482, allocations: 0 / 412.2 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008661/0.01568, allocations: 173.4 kB / 412.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.851e-05/0.01578, allocations: 85.11 kB / 412.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.01603, allocations: 157 kB / 412.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.01606, allocations: 33.7 kB / 412.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/0.01615, allocations: 96.08 kB / 412.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.0162, allocations: 31.73 kB / 412.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.199e-05/0.01627, allocations: 21.72 kB / 412.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.01647, allocations: 322.8 kB / 413.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.343e-05/0.01656, allocations: 23.98 kB / 413.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.0167, allocations: 72.2 kB / 413.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.0169, allocations: 65.64 kB / 413.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.01691, allocations: 0 / 413.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003587/0.01726, allocations: 101.6 kB / 413.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.0173, allocations: 11.98 kB / 413.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.0173, allocations: 0 / 413.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.01732, allocations: 0 / 413.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.01748, allocations: 15.94 kB / 413.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.01749, allocations: 4 kB / 413.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.964e-05/0.01758, allocations: 7.984 kB / 413.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.0176, allocations: 4.156 kB / 413.4 MB, free: 12.72 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.000165/0.01776, allocations: 125 kB / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.0178, allocations: 7.953 kB / 413.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005314/0.01833, allocations: 126.4 kB / 413.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.01834, allocations: 0 / 413.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01834, allocations: 0 / 413.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01835, allocations: 0 / 413.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000692/0.01904, allocations: 346.9 kB / 414 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.01904, allocations: 0 / 414 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.77e-05/0.0191, allocations: 8 kB / 414 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.0191, allocations: 0 / 414 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.01912, allocations: 12.36 kB / 414 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.01912, allocations: 0 / 414 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.01913, allocations: 8.031 kB / 414 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.0196, allocations: 216.2 kB / 414.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.036e-05/0.01963, allocations: 7.953 kB / 414.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.01966, allocations: 0 / 414.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.01978, allocations: 7.984 kB / 414.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.01983, allocations: 11.98 kB / 414.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.01985, allocations: 4.359 kB / 414.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.02001, allocations: 127.1 kB / 414.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02001, allocations: 0 / 414.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000482/0.02049, allocations: 31.94 kB / 414.4 MB, free: 11.63 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.002748/0.02324, allocations: 0.5209 MB / 414.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003371/0.02358, allocations: 59.86 kB / 415 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.02358, allocations: 0 / 415 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.02371, allocations: 28.14 kB / 415 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005734/0.02428, allocations: 43.98 kB / 415.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006999/0.02498, allocations: 194.1 kB / 415.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.02511, allocations: 83.88 kB / 415.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.197e-05/0.02521, allocations: 16.48 kB / 415.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/0.02529, allocations: 24.48 kB / 415.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.02529, allocations: 0 / 415.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Templates: time 0.01004/0.03533, allocations: 2.111 MB / 417.5 MB, free: 8.613 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.357344701886177]