Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001348/0.001348, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001501/0.001501, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1993/0.1993, allocations: 32.81 MB / 294.1 MB, free: 60 kB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test78,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 70.23 kB / 440.6 MB, free: 9.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3362, allocations: 65.44 MB / 0.4942 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.00316/0.3394, allocations: 1.889 MB / 0.4961 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.341, allocations: 1.074 MB / 0.4971 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.24e-05/0.3411, allocations: 0 / 0.4971 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.3415, allocations: 260.9 kB / 0.4974 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.3419, allocations: 227.6 kB / 0.4976 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.3421, allocations: 118.7 kB / 0.4977 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.3423, allocations: 273.5 kB / 0.498 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3424, allocations: 19.86 kB / 0.498 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.3426, allocations: 138.1 kB / 0.4981 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.3427, allocations: 205 kB / 0.4983 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.3428, allocations: 9.562 kB / 0.4983 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3429, allocations: 70.62 kB / 0.4984 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.067e-05/0.343, allocations: 62.98 kB / 0.4984 GB, free: 29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.429e-05/0.343, allocations: 73.2 kB / 0.4985 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.3433, allocations: 265 kB / 0.4988 GB, free: 28.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3433, allocations: 0 / 0.4988 GB, free: 28.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3433, allocations: 0 / 0.4988 GB, free: 28.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3433, allocations: 4 kB / 0.4988 GB, free: 28.83 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006005/0.3439, allocations: 0.5164 MB / 0.4993 GB, free: 28.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.3439, allocations: 9.188 kB / 0.4993 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.344, allocations: 35.8 kB / 0.4993 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.3443, allocations: 228.1 kB / 0.4995 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3443, allocations: 11.41 kB / 0.4995 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.3443, allocations: 7.375 kB / 0.4995 GB, free: 28.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.3445, allocations: 115.2 kB / 0.4997 GB, free: 28.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3445, allocations: 0 / 0.4997 GB, free: 28.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3445, allocations: 10.94 kB / 0.4997 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3445, allocations: 0 / 0.4997 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.3446, allocations: 54.66 kB / 0.4997 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.3451, allocations: 425.5 kB / 0.5001 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.3454, allocations: 120.7 kB / 0.5002 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.225e-05/0.3455, allocations: 43.64 kB / 0.5003 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.3455, allocations: 3.188 kB / 0.5003 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.3457, allocations: 135.6 kB / 0.5004 GB, free: 27.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.3457, allocations: 3.938 kB / 0.5004 GB, free: 27.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.001125/0.3468, allocations: 0.5163 MB / 0.5009 GB, free: 27.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.3468, allocations: 80.36 kB / 0.501 GB, free: 27.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.3472, allocations: 0.5041 MB / 0.5015 GB, free: 26.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.3472, allocations: 32.89 kB / 0.5015 GB, free: 26.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.3473, allocations: 170.5 kB / 0.5017 GB, free: 26.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.3473, allocations: 79.62 kB / 0.5018 GB, free: 26.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.3474, allocations: 42.98 kB / 0.5018 GB, free: 26.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.056e-05/0.3474, allocations: 349.6 kB / 0.5021 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.3475, allocations: 58.86 kB / 0.5022 GB, free: 26.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.3477, allocations: 96.58 kB / 0.5023 GB, free: 26.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.3479, allocations: 162.2 kB / 0.5024 GB, free: 26.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3479, allocations: 3.938 kB / 0.5024 GB, free: 26.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003288/0.3482, allocations: 248.2 kB / 0.5027 GB, free: 26.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3482, allocations: 6.406 kB / 0.5027 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3482, allocations: 3.938 kB / 0.5027 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3482, allocations: 3.344 kB / 0.5027 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.3484, allocations: 42.88 kB / 0.5027 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3484, allocations: 3.25 kB / 0.5027 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.857e-05/0.3485, allocations: 7.156 kB / 0.5027 GB, free: 26.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.3485, allocations: 8.594 kB / 0.5027 GB, free: 26.08 MB / 446.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 (26): * Single equations (assignments): 26 * 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.0001127/0.3486, allocations: 180.5 kB / 0.5029 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.3486, allocations: 35.05 kB / 0.503 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004329/0.3491, allocations: 286.5 kB / 0.5032 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3491, allocations: 3.031 kB / 0.5032 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3491, allocations: 6.719 kB / 0.5032 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3491, allocations: 3.516 kB / 0.5032 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006881/0.3498, allocations: 0.6839 MB / 0.5039 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3498, allocations: 6.844 kB / 0.5039 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.834e-05/0.3498, allocations: 31.56 kB / 0.5039 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3499, allocations: 3.031 kB / 0.5039 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.3499, allocations: 17.5 kB / 0.504 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.3499, allocations: 0 / 0.504 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3499, allocations: 3.031 kB / 0.504 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.3502, allocations: 449.2 kB / 0.5044 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.3503, allocations: 28.78 kB / 0.5044 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.3503, allocations: 7.031 kB / 0.5044 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.3505, allocations: 17.28 kB / 0.5044 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.3505, allocations: 19.97 kB / 0.5045 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.3505, allocations: 16.38 kB / 0.5045 GB, free: 24.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.3508, allocations: 375.2 kB / 0.5048 GB, free: 24.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3508, allocations: 3.938 kB / 0.5048 GB, free: 24.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003427/0.3511, allocations: 54.17 kB / 0.5049 GB, free: 24.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 20 * 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.001953/0.3531, allocations: 0.554 MB / 0.5054 GB, free: 24.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003123/0.3534, allocations: 161.8 kB / 0.5056 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3534, allocations: 0 / 0.5056 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.3535, allocations: 80.47 kB / 0.5057 GB, free: 24.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/0.354, allocations: 63.7 kB / 0.5057 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007081/0.3547, allocations: 0.6217 MB / 0.5063 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.3549, allocations: 179.5 kB / 0.5065 GB, free: 23.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.684e-05/0.355, allocations: 38.09 kB / 0.5065 GB, free: 23.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.355, allocations: 29.69 kB / 0.5066 GB, free: 23.97 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.355, allocations: 0 / 0.5066 GB, free: 23.97 MB / 446.1 MB Notification: Performance of Templates: time 0.006245/0.3613, allocations: 3.333 MB / 0.5098 GB, free: 23.51 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.159262971952558]