Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.001496/0.001496, allocations: 74.66 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.002269/0.002269, allocations: 164.3 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.609/1.609, allocations: 158.6 MB / 185 MB, free: 6.41 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.2279/0.2279, allocations: 32.38 MB / 269.6 MB, free: 4.68 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 407.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.141e-05, allocations: 2.281 kB / 407.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003551/0.003583, allocations: 1.814 MB / 409.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.005361, allocations: 0.862 MB / 410.1 MB, free: 256 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.005466, allocations: 7.938 kB / 410.1 MB, free: 248 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005427/0.006008, allocations: 219.3 kB / 410.3 MB, free: 28 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.006423, allocations: 179.3 kB / 410.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.006837, allocations: 143 kB / 410.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.007205, allocations: 243.2 kB / 410.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.007357, allocations: 13.81 kB / 410.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.007586, allocations: 139.6 kB / 411 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.007827, allocations: 139.7 kB / 411.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.007865, allocations: 8 kB / 411.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.007996, allocations: 47.92 kB / 411.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.008122, allocations: 63.77 kB / 411.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.803e-05/0.00821, allocations: 43.73 kB / 411.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.008586, allocations: 215.2 kB / 411.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.00859, allocations: 0 / 411.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.008591, allocations: 0 / 411.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.008598, allocations: 0 / 411.5 MB, free: 14.82 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000891/0.009489, allocations: 480.5 kB / 412 MB, free: 14.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.00954, allocations: 12.03 kB / 412 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.146e-05/0.009632, allocations: 28.75 kB / 412 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.01006, allocations: 217.8 kB / 412.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.01008, allocations: 4.375 kB / 412.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.01012, allocations: 8.328 kB / 412.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.01041, allocations: 103.8 kB / 412.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.01043, allocations: 7.938 kB / 412.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.01045, allocations: 0 / 412.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.01045, allocations: 0 / 412.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.01058, allocations: 43.91 kB / 412.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.01118, allocations: 384.7 kB / 412.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/0.01153, allocations: 125.2 kB / 412.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.01164, allocations: 41.7 kB / 413 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.01166, allocations: 4 kB / 413 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002695/0.01193, allocations: 121 kB / 413.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.01193, allocations: 0 / 413.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001024/0.01295, allocations: 376.6 kB / 413.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/0.01303, allocations: 85.11 kB / 413.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004872/0.01351, allocations: 432.5 kB / 414 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.01356, allocations: 37.69 kB / 414 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.01368, allocations: 152.3 kB / 414.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.004e-05/0.01375, allocations: 59.52 kB / 414.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.01381, allocations: 33.72 kB / 414.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.014, allocations: 350.7 kB / 414.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.0141, allocations: 35.98 kB / 414.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.01424, allocations: 75.41 kB / 414.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.01449, allocations: 131.5 kB / 414.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01449, allocations: 0 / 414.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003756/0.01486, allocations: 185.4 kB / 415 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.01489, allocations: 4 kB / 415 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.0149, allocations: 4 kB / 415 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.01492, allocations: 0 / 415 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.0151, allocations: 35.86 kB / 415 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.01511, allocations: 7.984 kB / 415 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/0.01519, allocations: 12.06 kB / 415.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.01521, allocations: 4 kB / 415.1 MB, free: 11.06 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001754/0.01539, allocations: 179.8 kB / 415.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.01543, allocations: 27.81 kB / 415.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/0.01593, allocations: 220.4 kB / 415.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.01594, allocations: 4 kB / 415.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.01594, allocations: 0 / 415.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01595, allocations: 0 / 415.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008539/0.0168, allocations: 0.5848 MB / 416.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.0168, allocations: 0.75 kB / 416.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.417e-05/0.01688, allocations: 23.94 kB / 416.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01688, allocations: 0 / 416.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.0169, allocations: 7.984 kB / 416.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.0169, allocations: 0 / 416.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.01691, allocations: 11.94 kB / 416.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.01737, allocations: 380.2 kB / 416.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.01742, allocations: 27.81 kB / 416.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.01745, allocations: 12.05 kB / 416.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.01759, allocations: 8 kB / 416.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.01765, allocations: 19.91 kB / 416.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.01768, allocations: 8 kB / 416.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003383/0.01801, allocations: 327 kB / 416.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01801, allocations: 0 / 416.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003384/0.01835, allocations: 39.94 kB / 416.9 MB, free: 9.121 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002019/0.02037, allocations: 0.4958 MB / 417.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003433/0.02071, allocations: 119.8 kB / 417.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.02072, allocations: 0 / 417.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.02087, allocations: 60.16 kB / 417.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.02143, allocations: 61.16 kB / 417.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009287/0.02236, allocations: 0.4979 MB / 418.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.02254, allocations: 152.8 kB / 418.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.655e-05/0.02263, allocations: 37.61 kB / 418.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.02269, allocations: 24.48 kB / 418.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.02269, allocations: 0 / 418.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of Templates: time 0.007704/0.0304, allocations: 2.907 MB / 421.3 MB, free: 4.824 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.350998371839523]