Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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: 71.28 kB / 21.24 MB, free: 0.5469 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.001447/0.001447, allocations: 158.6 kB / 24.49 MB, free: 3.727 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.512/1.512, allocations: 177.2 MB / 204.9 MB, free: 9.012 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.2146/0.2146, allocations: 32.81 MB / 294.1 MB, free: 28 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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") [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.002167/0.002167, allocations: 67.91 kB / 440.6 MB, free: 9.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3733, allocations: 65.45 MB / 0.4942 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003319/0.3766, allocations: 1.877 MB / 0.4961 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.3784, allocations: 1.082 MB / 0.4971 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.3785, allocations: 0 / 0.4971 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004784/0.379, allocations: 219.5 kB / 0.4973 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004386/0.3794, allocations: 221.2 kB / 0.4975 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.3797, allocations: 115.2 kB / 0.4976 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.38, allocations: 265.5 kB / 0.4979 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.3801, allocations: 19.45 kB / 0.4979 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.3802, allocations: 119.1 kB / 0.498 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.3804, allocations: 167.8 kB / 0.4982 GB, free: 29.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.3805, allocations: 9.5 kB / 0.4982 GB, free: 29.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.3806, allocations: 66.44 kB / 0.4983 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.339e-05/0.3807, allocations: 63.8 kB / 0.4983 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.515e-05/0.3807, allocations: 65.44 kB / 0.4984 GB, free: 28.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.3811, allocations: 255.2 kB / 0.4986 GB, free: 28.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3811, allocations: 0 / 0.4986 GB, free: 28.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3811, allocations: 0 / 0.4986 GB, free: 28.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.3811, allocations: 4 kB / 0.4986 GB, free: 28.86 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.0006643/0.3818, allocations: 0.5003 MB / 0.4991 GB, free: 28.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.3818, allocations: 9.625 kB / 0.4991 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.152e-05/0.3819, allocations: 29.44 kB / 0.4992 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.3823, allocations: 225 kB / 0.4994 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.3823, allocations: 7.469 kB / 0.4994 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.3823, allocations: 11.38 kB / 0.4994 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.3825, allocations: 116.4 kB / 0.4995 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.3826, allocations: 4 kB / 0.4995 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3826, allocations: 3.422 kB / 0.4995 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.3826, allocations: 3.188 kB / 0.4995 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.3827, allocations: 47.38 kB / 0.4996 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.3832, allocations: 419 kB / 0.5 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.3836, allocations: 118.3 kB / 0.5001 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3837, allocations: 43.27 kB / 0.5001 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.3837, allocations: 4 kB / 0.5001 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.384, allocations: 125.7 kB / 0.5002 GB, free: 27.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.384, allocations: 0 / 0.5002 GB, free: 27.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.001289/0.3852, allocations: 0.5229 MB / 0.5007 GB, free: 27.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.3853, allocations: 80.3 kB / 0.5008 GB, free: 27.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.3857, allocations: 461.4 kB / 0.5013 GB, free: 27.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.3857, allocations: 29.7 kB / 0.5013 GB, free: 27.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.3859, allocations: 166.7 kB / 0.5015 GB, free: 26.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.155e-05/0.3859, allocations: 71.62 kB / 0.5015 GB, free: 26.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/0.386, allocations: 41.09 kB / 0.5016 GB, free: 26.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3861, allocations: 348.9 kB / 0.5019 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.3863, allocations: 58.36 kB / 0.5019 GB, free: 26.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.3864, allocations: 93.31 kB / 0.502 GB, free: 26.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.3867, allocations: 161.6 kB / 0.5022 GB, free: 26.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3867, allocations: 0 / 0.5022 GB, free: 26.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003493/0.387, allocations: 246 kB / 0.5024 GB, free: 26.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.387, allocations: 6.562 kB / 0.5024 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.387, allocations: 3.938 kB / 0.5024 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.3871, allocations: 3.281 kB / 0.5024 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.3872, allocations: 47.69 kB / 0.5025 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3872, allocations: 3.25 kB / 0.5025 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.038e-05/0.3873, allocations: 14.53 kB / 0.5025 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.3873, allocations: 6.531 kB / 0.5025 GB, free: 26.17 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.0001604/0.3875, allocations: 169.1 kB / 0.5027 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.489e-05/0.3875, allocations: 31.91 kB / 0.5027 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005479/0.3881, allocations: 278.3 kB / 0.503 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.3881, allocations: 10.66 kB / 0.503 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.3881, allocations: 0 / 0.503 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3881, allocations: 7.109 kB / 0.503 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000774/0.3889, allocations: 0.6818 MB / 0.5036 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3889, allocations: 7.25 kB / 0.5037 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.323e-05/0.389, allocations: 36.05 kB / 0.5037 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.389, allocations: 3.094 kB / 0.5037 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.389, allocations: 9.656 kB / 0.5037 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.389, allocations: 3.516 kB / 0.5037 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.389, allocations: 2.938 kB / 0.5037 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004596/0.3895, allocations: 434.7 kB / 0.5041 GB, free: 25.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.3895, allocations: 38.78 kB / 0.5042 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.3895, allocations: 7.031 kB / 0.5042 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.3897, allocations: 10.53 kB / 0.5042 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.3897, allocations: 23.89 kB / 0.5042 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.3898, allocations: 9.281 kB / 0.5042 GB, free: 25.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002702/0.39, allocations: 341 kB / 0.5045 GB, free: 24.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.39, allocations: 0 / 0.5045 GB, free: 24.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004589/0.3905, allocations: 52.97 kB / 0.5046 GB, free: 24.89 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.002152/0.3926, allocations: 0.5491 MB / 0.5051 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003592/0.393, allocations: 171.2 kB / 0.5053 GB, free: 24.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.393, allocations: 0 / 0.5053 GB, free: 24.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.3932, allocations: 78.69 kB / 0.5054 GB, free: 24.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005845/0.3937, allocations: 62.69 kB / 0.5054 GB, free: 24.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008132/0.3945, allocations: 0.5874 MB / 0.506 GB, free: 24.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.3947, allocations: 174.5 kB / 0.5062 GB, free: 24.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.132e-05/0.3948, allocations: 41.08 kB / 0.5062 GB, free: 24.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.3949, allocations: 29.8 kB / 0.5062 GB, free: 24.09 MB / 446.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3949, allocations: 0 / 0.5062 GB, free: 24.09 MB / 446.1 MB Notification: Performance of Templates: time 0.007318/0.4022, allocations: 3.301 MB / 0.5094 GB, free: 23.65 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.0787889149505645]