Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.002152/0.002152, allocations: 77.23 kB / 19.93 MB, free: 1.785 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.003347/0.003347, allocations: 163.5 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.593/1.593, allocations: 158.6 MB / 185 MB, free: 6.395 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.2442/0.2442, allocations: 32.38 MB / 269.6 MB, free: 4.66 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 0 / 407.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.434e-05/3.684e-05, allocations: 2.281 kB / 407.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003304/0.003341, allocations: 1.674 MB / 409.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.004987, allocations: 0.7802 MB / 409.9 MB, free: 476 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.005071, allocations: 0 / 409.9 MB, free: 476 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.005431, allocations: 43.75 kB / 409.9 MB, free: 432 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.005688, allocations: 55.7 kB / 410 MB, free: 376 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.005995, allocations: 95 kB / 410.1 MB, free: 284 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.006202, allocations: 99.58 kB / 410.2 MB, free: 184 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.006302, allocations: 8.234 kB / 410.2 MB, free: 176 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.006405, allocations: 51.88 kB / 410.2 MB, free: 124 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.352e-05/0.006479, allocations: 23.92 kB / 410.3 MB, free: 100 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.006503, allocations: 4 kB / 410.3 MB, free: 96 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.006614, allocations: 51.84 kB / 410.3 MB, free: 44 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.006675, allocations: 19.92 kB / 410.3 MB, free: 24 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.006718, allocations: 19.88 kB / 410.4 MB, free: 4 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.006956, allocations: 111.6 kB / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.006961, allocations: 3.938 kB / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.006962, allocations: 0 / 410.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.006968, 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.000615/0.007583, allocations: 337.6 kB / 410.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.007626, allocations: 12.03 kB / 410.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.007678, allocations: 12.89 kB / 410.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.008005, allocations: 151.7 kB / 411 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.008027, allocations: 8.375 kB / 411 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.008046, allocations: 384 / 411 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.008219, allocations: 62.16 kB / 411 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.008235, allocations: 7.938 kB / 411 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.008245, allocations: 0 / 411 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.00825, allocations: 0 / 411 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.073e-05/0.008331, allocations: 19.98 kB / 411.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.008723, allocations: 232.5 kB / 411.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.008911, allocations: 54.62 kB / 411.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.324e-05/0.008984, allocations: 24.78 kB / 411.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.009, allocations: 4 kB / 411.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.009169, allocations: 67.39 kB / 411.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.009171, allocations: 0 / 411.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006445/0.009815, allocations: 189.3 kB / 411.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.009871, allocations: 59.39 kB / 411.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.01008, allocations: 190.2 kB / 411.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.0101, allocations: 29.7 kB / 411.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.01018, allocations: 100.1 kB / 412 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.01022, allocations: 23.84 kB / 412 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.01026, allocations: 21.72 kB / 412 MB, free: 14.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.01042, allocations: 322.8 kB / 412.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.01049, allocations: 23.98 kB / 412.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.714e-05/0.01056, allocations: 37.64 kB / 412.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.01071, allocations: 65.64 kB / 412.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.01071, allocations: 0 / 412.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002099/0.01092, allocations: 105.6 kB / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.01093, allocations: 4 kB / 412.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.01094, allocations: 3.984 kB / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.01096, allocations: 4 kB / 412.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.01106, allocations: 16.19 kB / 412.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01106, allocations: 0 / 412.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.005e-05/0.01111, allocations: 11.89 kB / 412.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.01113, allocations: 7.984 kB / 412.6 MB, free: 13.54 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.0001368/0.01126, allocations: 133.7 kB / 412.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.01129, allocations: 11.95 kB / 412.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.01156, allocations: 118.4 kB / 412.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.01157, allocations: 4 kB / 412.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01157, allocations: 0 / 412.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.01159, allocations: 3.984 kB / 412.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004981/0.01208, allocations: 342.9 kB / 413.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.01209, allocations: 0 / 413.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.01213, allocations: 8 kB / 413.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.01213, allocations: 4 kB / 413.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.01214, allocations: 11.95 kB / 413.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01215, allocations: 384 / 413.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.01215, allocations: 4 kB / 413.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.01243, allocations: 212.2 kB / 413.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.783e-05/0.01245, allocations: 7.953 kB / 413.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.01248, allocations: 15.98 kB / 413.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.01255, allocations: 0 / 413.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.01259, allocations: 11.97 kB / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.01261, allocations: 4 kB / 413.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.01275, allocations: 151.1 kB / 413.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01275, allocations: 4 kB / 413.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.01302, allocations: 23.98 kB / 413.7 MB, free: 12.41 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.001862/0.01488, allocations: 488.8 kB / 414.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.01508, allocations: 63.95 kB / 414.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01508, allocations: 0 / 414.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.024e-05/0.01516, allocations: 35.86 kB / 414.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.01554, allocations: 30 kB / 414.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004894/0.01603, allocations: 226.5 kB / 414.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.988e-05/0.01613, allocations: 88.31 kB / 414.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.632e-05/0.01618, allocations: 20.47 kB / 414.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.01622, allocations: 20.5 kB / 414.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01622, allocations: 3.938 kB / 414.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Templates: time 0.005334/0.02155, allocations: 1.82 MB / 416.5 MB, free: 9.688 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.175537046045065]