Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.00131/0.00131, allocations: 73.41 kB / 21.24 MB, free: 0.5547 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.001467/0.001467, allocations: 161.2 kB / 24.5 MB, free: 3.719 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.454/1.454, allocations: 177.2 MB / 204.9 MB, free: 9 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.2119/0.2119, allocations: 32.81 MB / 294.1 MB, free: 16 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.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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") [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.002146/0.002146, allocations: 65.94 kB / 440.6 MB, free: 9.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3497, allocations: 65.44 MB / 0.4942 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002842/0.3525, allocations: 1.884 MB / 0.4961 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.3541, allocations: 1.079 MB / 0.4971 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.597e-05/0.3541, allocations: 0 / 0.4971 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.3546, allocations: 225.7 kB / 0.4973 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.355, allocations: 215.8 kB / 0.4975 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.3552, allocations: 119.1 kB / 0.4977 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.3554, allocations: 259.8 kB / 0.4979 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3555, allocations: 22.91 kB / 0.4979 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.3557, allocations: 115.4 kB / 0.498 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.3558, allocations: 171.7 kB / 0.4982 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.3559, allocations: 6.406 kB / 0.4982 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.356, allocations: 67.5 kB / 0.4983 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.946e-05/0.3561, allocations: 60.34 kB / 0.4983 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.06e-05/0.3561, allocations: 74.03 kB / 0.4984 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.3564, allocations: 242.3 kB / 0.4986 GB, free: 28.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3564, allocations: 8 kB / 0.4986 GB, free: 28.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3564, allocations: 3.375 kB / 0.4986 GB, free: 28.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3564, allocations: 0 / 0.4986 GB, free: 28.85 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.0006173/0.357, allocations: 0.4955 MB / 0.4991 GB, free: 28.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.3571, allocations: 9.625 kB / 0.4991 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.3571, allocations: 33.19 kB / 0.4992 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.3574, allocations: 227 kB / 0.4994 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3574, allocations: 7.234 kB / 0.4994 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.3574, allocations: 14.81 kB / 0.4994 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.3577, allocations: 116.5 kB / 0.4995 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.3577, allocations: 4 kB / 0.4995 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3577, allocations: 3.281 kB / 0.4995 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.3577, allocations: 0 / 0.4995 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.3578, allocations: 51.02 kB / 0.4996 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.3582, allocations: 415.2 kB / 0.5 GB, free: 27.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.3586, allocations: 124 kB / 0.5001 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.3587, allocations: 43.97 kB / 0.5001 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3587, allocations: 0 / 0.5001 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.3589, allocations: 120.5 kB / 0.5002 GB, free: 27.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.3589, allocations: 3.938 kB / 0.5002 GB, free: 27.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.001157/0.36, allocations: 0.5192 MB / 0.5007 GB, free: 27.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.3601, allocations: 80.39 kB / 0.5008 GB, free: 27.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.3604, allocations: 461.2 kB / 0.5013 GB, free: 27.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3604, allocations: 32.89 kB / 0.5013 GB, free: 27.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.368e-05/0.3605, allocations: 163.4 kB / 0.5015 GB, free: 26.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.3605, allocations: 71.5 kB / 0.5015 GB, free: 26.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.3606, allocations: 48.91 kB / 0.5016 GB, free: 26.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.3607, allocations: 342.6 kB / 0.5019 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.3608, allocations: 58.33 kB / 0.5019 GB, free: 26.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.3609, allocations: 95.69 kB / 0.502 GB, free: 26.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.3611, allocations: 173.4 kB / 0.5022 GB, free: 26.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.3611, allocations: 7.062 kB / 0.5022 GB, free: 26.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003327/0.3615, allocations: 229.9 kB / 0.5024 GB, free: 26.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3615, allocations: 9.781 kB / 0.5024 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3615, allocations: 3.938 kB / 0.5024 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3615, allocations: 3.25 kB / 0.5024 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.3616, allocations: 46.92 kB / 0.5025 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3616, allocations: 0 / 0.5025 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.164e-05/0.3617, allocations: 13.84 kB / 0.5025 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.3617, allocations: 18.36 kB / 0.5025 GB, free: 26.15 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.0001111/0.3619, allocations: 164.3 kB / 0.5027 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.3619, allocations: 28.66 kB / 0.5027 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004608/0.3624, allocations: 290.4 kB / 0.503 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3624, allocations: 4.688 kB / 0.503 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3624, allocations: 0 / 0.503 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.3624, allocations: 0 / 0.503 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007044/0.3631, allocations: 0.6843 MB / 0.5037 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3631, allocations: 0 / 0.5037 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.989e-05/0.3632, allocations: 36.06 kB / 0.5037 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3632, allocations: 0 / 0.5037 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.3632, allocations: 13.69 kB / 0.5037 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3632, allocations: 0 / 0.5037 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3632, allocations: 7.156 kB / 0.5037 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.3636, allocations: 442.3 kB / 0.5041 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.3636, allocations: 33.27 kB / 0.5042 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.3637, allocations: 10.94 kB / 0.5042 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.3638, allocations: 13.56 kB / 0.5042 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.3639, allocations: 24.39 kB / 0.5042 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.3639, allocations: 9.922 kB / 0.5042 GB, free: 25.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002475/0.3641, allocations: 339.5 kB / 0.5045 GB, free: 24.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3641, allocations: 3.938 kB / 0.5045 GB, free: 24.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003554/0.3645, allocations: 50.62 kB / 0.5046 GB, free: 24.87 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.002067/0.3665, allocations: 0.5463 MB / 0.5051 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003243/0.3669, allocations: 166.3 kB / 0.5053 GB, free: 24.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3669, allocations: 0 / 0.5053 GB, free: 24.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.367, allocations: 80.39 kB / 0.5054 GB, free: 24.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005359/0.3675, allocations: 63.33 kB / 0.5054 GB, free: 24.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007855/0.3683, allocations: 0.5796 MB / 0.506 GB, free: 24.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.3685, allocations: 171.5 kB / 0.5062 GB, free: 24.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.767e-05/0.3686, allocations: 42 kB / 0.5062 GB, free: 24.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.3686, allocations: 33.02 kB / 0.5062 GB, free: 24.08 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3686, allocations: 0 / 0.5062 GB, free: 24.08 MB / 446.1 MB Notification: Performance of Templates: time 0.00654/0.3752, allocations: 3.313 MB / 0.5095 GB, free: 23.62 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.108695499016903]