Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.001916/0.001916, allocations: 75.2 kB / 19.93 MB, free: 1.773 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.003015/0.003015, allocations: 174.7 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.596/1.596, allocations: 158.6 MB / 185 MB, free: 6.387 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.2323/0.2323, allocations: 32.38 MB / 269.6 MB, free: 4.648 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 407.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.69e-05, allocations: 4.391 kB / 407.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003245/0.003272, allocations: 1.682 MB / 409.1 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.004853, allocations: 0.7724 MB / 409.9 MB, free: 448 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.929e-05/0.004933, allocations: 0 / 409.9 MB, free: 448 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.005244, allocations: 39.77 kB / 409.9 MB, free: 408 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.005488, allocations: 63.69 kB / 410 MB, free: 344 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.005753, allocations: 79.7 kB / 410.1 MB, free: 264 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.005964, allocations: 107.6 kB / 410.2 MB, free: 156 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.646e-05/0.00606, allocations: 8.172 kB / 410.2 MB, free: 148 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.006166, allocations: 47.89 kB / 410.2 MB, free: 100 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.784e-05/0.006244, allocations: 27.91 kB / 410.3 MB, free: 72 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.006266, allocations: 4 kB / 410.3 MB, free: 68 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.006368, allocations: 47.86 kB / 410.3 MB, free: 20 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.006508, allocations: 15.92 kB / 410.3 MB, free: 4 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.34e-05/0.006581, allocations: 19.92 kB / 410.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.006804, allocations: 107.6 kB / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.006808, allocations: 3.938 kB / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006809, allocations: 0 / 410.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.006818, allocations: 0 / 410.5 MB, free: 15.88 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.0005978/0.007416, allocations: 325.8 kB / 410.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.007452, allocations: 8.031 kB / 410.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.007495, allocations: 12.84 kB / 410.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.00777, allocations: 146.2 kB / 410.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.007781, allocations: 4.375 kB / 410.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.007809, allocations: 12.3 kB / 411 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.00796, allocations: 61.61 kB / 411 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.007972, allocations: 0 / 411 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.007982, allocations: 0 / 411 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.007986, allocations: 0 / 411 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.717e-05/0.008063, allocations: 19.98 kB / 411 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.008419, allocations: 228.5 kB / 411.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.008598, allocations: 54.62 kB / 411.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/0.008658, allocations: 20.84 kB / 411.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.008675, allocations: 7.984 kB / 411.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.008827, allocations: 71.39 kB / 411.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.008828, allocations: 4 kB / 411.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005823/0.009411, allocations: 177.3 kB / 411.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.009476, allocations: 55.39 kB / 411.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.009661, allocations: 170.4 kB / 411.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.009685, allocations: 25.7 kB / 411.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.009758, allocations: 96.14 kB / 411.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.009793, allocations: 27.77 kB / 411.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.00984, allocations: 25.72 kB / 412 MB, free: 14.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.01, allocations: 326.8 kB / 412.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.224e-05/0.01007, allocations: 23.98 kB / 412.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.024e-05/0.01015, allocations: 45.58 kB / 412.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.01028, allocations: 57.7 kB / 412.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01028, allocations: 0 / 412.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000208/0.01049, allocations: 105.5 kB / 412.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.01051, allocations: 4 kB / 412.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.01052, allocations: 3.984 kB / 412.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.01053, allocations: 0 / 412.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.01063, allocations: 20.03 kB / 412.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01064, allocations: 0 / 412.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.01069, allocations: 7.938 kB / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.0107, allocations: 7.984 kB / 412.6 MB, free: 13.57 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.0001184/0.01082, allocations: 125.7 kB / 412.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.01084, allocations: 7.953 kB / 412.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.01114, allocations: 122.5 kB / 412.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01114, allocations: 0 / 412.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01115, allocations: 0 / 412.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.01115, allocations: 8 kB / 412.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.01161, allocations: 342.9 kB / 413.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01162, allocations: 0 / 413.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.01166, allocations: 12 kB / 413.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01166, allocations: 0 / 413.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.01167, allocations: 0 / 413.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.01168, allocations: 4.312 kB / 413.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01168, allocations: 4 kB / 413.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.01194, allocations: 212.2 kB / 413.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.01196, allocations: 11.95 kB / 413.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.01199, allocations: 12.03 kB / 413.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.01206, allocations: 3.938 kB / 413.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.01211, allocations: 7.984 kB / 413.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.01212, allocations: 8.375 kB / 413.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.01225, allocations: 127.2 kB / 413.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01225, allocations: 0 / 413.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.01252, allocations: 23.94 kB / 413.6 MB, free: 12.49 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.00189/0.01441, allocations: 496.6 kB / 414.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.01462, allocations: 55.97 kB / 414.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.01462, allocations: 4 kB / 414.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/0.0147, allocations: 27.92 kB / 414.1 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.01509, allocations: 31.05 kB / 414.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.01558, allocations: 206.2 kB / 414.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.401e-05/0.01567, allocations: 95.11 kB / 414.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.863e-05/0.01572, allocations: 16.78 kB / 414.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.01576, allocations: 16.5 kB / 414.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01576, allocations: 0 / 414.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of Templates: time 0.005522/0.02128, allocations: 1.831 MB / 416.3 MB, free: 9.789 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.2225421741604805]