Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001325/0.001325, allocations: 71.75 kB / 21.24 MB, free: 0.543 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.001367/0.001367, allocations: 161.1 kB / 24.5 MB, free: 3.707 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.461/1.461, allocations: 177.2 MB / 204.9 MB, free: 9.004 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.2161/0.2161, allocations: 32.8 MB / 294.1 MB, free: 20 kB / 270.1 MB " [Timeout remaining time 180] 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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") [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.002125/0.002125, allocations: 59.91 kB / 440.6 MB, free: 9.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3472, allocations: 65.44 MB / 0.4942 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002732/0.35, allocations: 1.87 MB / 0.496 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.3516, allocations: 1.09 MB / 0.4971 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.463e-05/0.3516, allocations: 2.969 kB / 0.4971 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004716/0.3521, allocations: 255.8 kB / 0.4974 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003909/0.3525, allocations: 237.8 kB / 0.4976 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.3527, allocations: 115.5 kB / 0.4977 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.353, allocations: 277.3 kB / 0.498 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.3531, allocations: 16 kB / 0.498 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.3533, allocations: 138.5 kB / 0.4981 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.3534, allocations: 200.8 kB / 0.4983 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.3535, allocations: 9.75 kB / 0.4983 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.3536, allocations: 71.83 kB / 0.4984 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.838e-05/0.3537, allocations: 66.23 kB / 0.4984 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.832e-05/0.3538, allocations: 73.67 kB / 0.4985 GB, free: 28.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.354, allocations: 258.5 kB / 0.4988 GB, free: 28.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.354, allocations: 4 kB / 0.4988 GB, free: 28.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.354, allocations: 0 / 0.4988 GB, free: 28.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.3541, allocations: 0 / 0.4988 GB, free: 28.82 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.0006723/0.3547, allocations: 0.5221 MB / 0.4993 GB, free: 28.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3548, allocations: 9.625 kB / 0.4993 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.226e-05/0.3548, allocations: 32.59 kB / 0.4993 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.3551, allocations: 233.9 kB / 0.4995 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3552, allocations: 7.203 kB / 0.4995 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.3552, allocations: 14.19 kB / 0.4996 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.3554, allocations: 112.5 kB / 0.4997 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.3554, allocations: 0 / 0.4997 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3554, allocations: 3.281 kB / 0.4997 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3554, allocations: 0 / 0.4997 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.3556, allocations: 50.95 kB / 0.4997 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.356, allocations: 429.1 kB / 0.5001 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.3563, allocations: 124.3 kB / 0.5002 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.908e-05/0.3564, allocations: 43.56 kB / 0.5003 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.3564, allocations: 3.25 kB / 0.5003 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.3566, allocations: 133.3 kB / 0.5004 GB, free: 27.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.3566, allocations: 0 / 0.5004 GB, free: 27.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.001187/0.3578, allocations: 0.5263 MB / 0.5009 GB, free: 27.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.3579, allocations: 83.81 kB / 0.501 GB, free: 27.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.3582, allocations: 0.4957 MB / 0.5015 GB, free: 26.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3582, allocations: 32.98 kB / 0.5015 GB, free: 26.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.988e-05/0.3583, allocations: 174.8 kB / 0.5017 GB, free: 26.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.3584, allocations: 71.72 kB / 0.5018 GB, free: 26.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.3584, allocations: 47.91 kB / 0.5018 GB, free: 26.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.372e-05/0.3585, allocations: 348.8 kB / 0.5021 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.3586, allocations: 57.64 kB / 0.5022 GB, free: 26.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.3587, allocations: 100.5 kB / 0.5023 GB, free: 26.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.359, allocations: 166.3 kB / 0.5024 GB, free: 26.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.359, allocations: 0 / 0.5024 GB, free: 26.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003334/0.3593, allocations: 244.2 kB / 0.5027 GB, free: 26.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3593, allocations: 5.906 kB / 0.5027 GB, free: 26.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3593, allocations: 3.938 kB / 0.5027 GB, free: 26.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.3593, allocations: 7.062 kB / 0.5027 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.3595, allocations: 44.61 kB / 0.5027 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3595, allocations: 6.625 kB / 0.5027 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.989e-05/0.3595, allocations: 6.75 kB / 0.5027 GB, free: 26.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.3596, allocations: 8.031 kB / 0.5028 GB, free: 26.06 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.0001227/0.3597, allocations: 171.5 kB / 0.5029 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.3597, allocations: 35.77 kB / 0.503 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004599/0.3602, allocations: 282.5 kB / 0.5032 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3602, allocations: 0 / 0.5032 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3602, allocations: 7.344 kB / 0.5032 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3602, allocations: 3.281 kB / 0.5032 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007097/0.3609, allocations: 0.6912 MB / 0.5039 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3609, allocations: 0 / 0.5039 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.951e-05/0.361, allocations: 35.14 kB / 0.5039 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.361, allocations: 6.562 kB / 0.5039 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.361, allocations: 11.16 kB / 0.504 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.361, allocations: 7.25 kB / 0.504 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.361, allocations: 0 / 0.504 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.3614, allocations: 448 kB / 0.5044 GB, free: 24.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.3615, allocations: 33.22 kB / 0.5044 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.3615, allocations: 9.547 kB / 0.5044 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.3616, allocations: 6.938 kB / 0.5044 GB, free: 24.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.3617, allocations: 27.2 kB / 0.5045 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.3617, allocations: 9.156 kB / 0.5045 GB, free: 24.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002669/0.362, allocations: 383.3 kB / 0.5048 GB, free: 24.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.362, allocations: 0 / 0.5048 GB, free: 24.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003591/0.3624, allocations: 56.44 kB / 0.5049 GB, free: 24.76 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.002052/0.3644, allocations: 0.5501 MB / 0.5054 GB, free: 24.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003183/0.3647, allocations: 155.5 kB / 0.5056 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3647, allocations: 0 / 0.5056 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.3649, allocations: 80.89 kB / 0.5057 GB, free: 24.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/0.3654, allocations: 80.81 kB / 0.5057 GB, free: 24.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007563/0.3662, allocations: 0.6146 MB / 0.5063 GB, free: 24.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.3663, allocations: 181.8 kB / 0.5065 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.915e-05/0.3664, allocations: 37.09 kB / 0.5065 GB, free: 23.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.3665, allocations: 37.94 kB / 0.5066 GB, free: 23.95 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3665, allocations: 0 / 0.5066 GB, free: 23.95 MB / 446.1 MB Notification: Performance of Templates: time 0.006771/0.3732, allocations: 3.32 MB / 0.5098 GB, free: 23.5 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.9914927299832925]