Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.0007988/0.0007988, allocations: 80.45 kB / 20.69 MB, free: 3.867 MB / 18.57 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.000803/0.000803, allocations: 165.9 kB / 23.96 MB, free: 0.5938 MB / 18.57 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 0.808/0.808, allocations: 158.6 MB / 185.7 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.1238/0.1238, allocations: 32.37 MB / 270.3 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 408.2 MB, free: 1.664 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.536e-05, allocations: 5.938 kB / 408.2 MB, free: 1.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001947/0.001963, allocations: 1.641 MB / 409.8 MB, free: 4 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007523/0.002715, allocations: 0.7571 MB / 410.6 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.499e-05/0.00277, allocations: 0 / 410.6 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.003036, allocations: 91.64 kB / 410.7 MB, free: 15.15 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.003212, allocations: 83.64 kB / 410.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.003351, allocations: 75.78 kB / 410.8 MB, free: 14.99 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.003484, allocations: 111.6 kB / 410.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.428e-05/0.003518, allocations: 3.938 kB / 410.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.411e-05/0.003593, allocations: 59.81 kB / 411 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.83e-05/0.003671, allocations: 47.89 kB / 411 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.003687, allocations: 11.98 kB / 411 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.773e-05/0.003745, allocations: 35.92 kB / 411.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.762e-05/0.003792, allocations: 19.92 kB / 411.1 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.003822, allocations: 15.94 kB / 411.1 MB, free: 14.69 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.003961, allocations: 103.6 kB / 411.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003963, allocations: 0 / 411.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003964, allocations: 7.875 kB / 411.2 MB, free: 14.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.003967, allocations: 0 / 411.2 MB, free: 14.58 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003571/0.004324, allocations: 345.6 kB / 411.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.004355, allocations: 11.98 kB / 411.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.004386, allocations: 12.89 kB / 411.6 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.004532, allocations: 149.5 kB / 411.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.004541, allocations: 384 / 411.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.004551, allocations: 4.375 kB / 411.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.781e-05/0.004649, allocations: 54.17 kB / 411.8 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.004656, allocations: 3.938 kB / 411.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.004663, allocations: 0 / 411.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.004668, allocations: 8 kB / 411.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/0.004711, allocations: 15.98 kB / 411.8 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001137/0.004824, allocations: 125.3 kB / 411.9 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.697e-05/0.004921, allocations: 58.61 kB / 412 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.00495, allocations: 16.86 kB / 412 MB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.00496, allocations: 0 / 412 MB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.067e-05/0.005051, allocations: 67.31 kB / 412.1 MB, free: 13.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 6.81e-07/0.005052, allocations: 4 kB / 412.1 MB, free: 13.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001721/0.005224, allocations: 105.5 kB / 412.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.005251, allocations: 51.41 kB / 412.2 MB, free: 13.44 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.005381, allocations: 214.8 kB / 412.4 MB, free: 13.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.005391, allocations: 29.7 kB / 412.5 MB, free: 13.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.00543, allocations: 104.1 kB / 412.6 MB, free: 13.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.005454, allocations: 19.84 kB / 412.6 MB, free: 13.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.005479, allocations: 17.72 kB / 412.6 MB, free: 13.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.801e-05/0.005547, allocations: 326.8 kB / 412.9 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/0.005575, allocations: 15.98 kB / 413 MB, free: 12.69 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.297e-05/0.005608, allocations: 33.7 kB / 413 MB, free: 12.65 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.438e-05/0.005663, allocations: 45.7 kB / 413 MB, free: 12.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005665, allocations: 0 / 413 MB, free: 12.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.087e-05/0.005745, allocations: 85.58 kB / 413.1 MB, free: 12.51 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.005755, allocations: 4 kB / 413.1 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.00576, allocations: 3.938 kB / 413.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.00577, allocations: 4 kB / 413.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.938e-05/0.005819, allocations: 11.98 kB / 413.1 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.005823, allocations: 0 / 413.1 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.468e-05/0.005847, allocations: 4 kB / 413.1 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.005851, allocations: 0 / 413.1 MB, free: 12.48 MB / 394.7 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 (7): * Single equations (assignments): 7 * 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 6.111e-05/0.005913, allocations: 133.8 kB / 413.3 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.005923, allocations: 15.94 kB / 413.3 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.00604, allocations: 103.1 kB / 413.4 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.006043, allocations: 7.938 kB / 413.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.006046, allocations: 4 kB / 413.4 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.006049, allocations: 3.984 kB / 413.4 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.239e-05/0.006121, allocations: 133.3 kB / 413.5 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.006122, allocations: 0 / 413.5 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.281e-05/0.006135, allocations: 4 kB / 413.5 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.006136, allocations: 0 / 413.5 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.006141, allocations: 4 kB / 413.5 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.006143, allocations: 3.938 kB / 413.5 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.006143, allocations: 4 kB / 413.5 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.694e-05/0.00624, allocations: 124.9 kB / 413.7 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.006252, allocations: 7.953 kB / 413.7 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.006264, allocations: 8 kB / 413.7 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.679e-05/0.006281, allocations: 3.938 kB / 413.7 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.006305, allocations: 7.984 kB / 413.7 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.006314, allocations: 0 / 413.7 MB, free: 11.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.067e-05/0.006395, allocations: 167.2 kB / 413.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006395, allocations: 0 / 413.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001312/0.006526, allocations: 12 kB / 413.9 MB, free: 11.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0005751/0.007101, allocations: 453.7 kB / 414.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.705e-05/0.007198, allocations: 39.92 kB / 414.4 MB, free: 11.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.007199, allocations: 4 kB / 414.4 MB, free: 11.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.007233, allocations: 19.98 kB / 414.4 MB, free: 11.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.007388, allocations: 23.98 kB / 414.4 MB, free: 11.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.00769, allocations: 254.7 kB / 414.6 MB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.184e-05/0.007742, allocations: 92.38 kB / 414.7 MB, free: 10.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.007764, allocations: 16.48 kB / 414.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.007765, allocations: 0 / 414.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of Templates: time 0.002343/0.01011, allocations: 1.778 MB / 416.5 MB, free: 8.992 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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: 4.4268348552286625]