Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.001316/0.001316, allocations: 75.73 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.001394/0.001394, allocations: 170.3 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.463/1.463, allocations: 177.2 MB / 204.9 MB, free: 9.039 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.2081/0.2081, allocations: 32.82 MB / 294.1 MB, free: 56 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.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") [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.002343/0.002343, allocations: 67.91 kB / 440.6 MB, free: 9.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3777, allocations: 65.43 MB / 0.4942 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002763/0.3805, allocations: 1.624 MB / 0.4957 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008756/0.3813, allocations: 0.5259 MB / 0.4963 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.314e-05/0.3814, allocations: 0 / 0.4963 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.3817, allocations: 124 kB / 0.4964 GB, free: 30 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.382, allocations: 124.6 kB / 0.4965 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.3822, allocations: 97.77 kB / 0.4966 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.3824, allocations: 93.17 kB / 0.4967 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.507e-05/0.3825, allocations: 22.25 kB / 0.4967 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.257e-05/0.3825, allocations: 47.91 kB / 0.4967 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.3827, allocations: 93.83 kB / 0.4968 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.3827, allocations: 5.656 kB / 0.4968 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.374e-05/0.3828, allocations: 40.23 kB / 0.4969 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.3828, allocations: 29.33 kB / 0.4969 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.3829, allocations: 29.8 kB / 0.4969 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.383, allocations: 128.1 kB / 0.4971 GB, free: 29.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.383, allocations: 3.062 kB / 0.4971 GB, free: 29.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.383, allocations: 7.938 kB / 0.4971 GB, free: 29.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.383, allocations: 0 / 0.4971 GB, free: 29.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004006/0.3834, allocations: 362 kB / 0.4974 GB, free: 29.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.3835, allocations: 9.781 kB / 0.4974 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.3835, allocations: 15.03 kB / 0.4974 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.3837, allocations: 161.4 kB / 0.4976 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.3837, allocations: 4.312 kB / 0.4976 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.3837, allocations: 10.98 kB / 0.4976 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.3838, allocations: 50.19 kB / 0.4977 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3838, allocations: 3.469 kB / 0.4977 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3838, allocations: 4 kB / 0.4977 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3839, allocations: 0 / 0.4977 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.854e-05/0.3839, allocations: 34.83 kB / 0.4977 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.3842, allocations: 241.6 kB / 0.4979 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.812e-05/0.3843, allocations: 42.83 kB / 0.498 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.591e-05/0.3844, allocations: 15.23 kB / 0.498 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.3844, allocations: 3.094 kB / 0.498 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.3844, allocations: 37.83 kB / 0.498 GB, free: 28.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3844, allocations: 0 / 0.498 GB, free: 28.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008354/0.3852, allocations: 240 kB / 0.4982 GB, free: 28.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.3853, allocations: 51.41 kB / 0.4983 GB, free: 28.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.3855, allocations: 273.6 kB / 0.4986 GB, free: 28.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.3855, allocations: 33.22 kB / 0.4986 GB, free: 28.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.3855, allocations: 114.1 kB / 0.4987 GB, free: 28.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.3855, allocations: 27 kB / 0.4987 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.3856, allocations: 23.62 kB / 0.4987 GB, free: 28.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.271e-05/0.3856, allocations: 328.4 kB / 0.4991 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.218e-05/0.3857, allocations: 27.86 kB / 0.4991 GB, free: 28.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.3858, allocations: 23.22 kB / 0.4991 GB, free: 28.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.3859, allocations: 59.64 kB / 0.4992 GB, free: 28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3859, allocations: 3.938 kB / 0.4992 GB, free: 28 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001781/0.3861, allocations: 109.6 kB / 0.4993 GB, free: 27.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3861, allocations: 6.344 kB / 0.4993 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3861, allocations: 0 / 0.4993 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3861, allocations: 0 / 0.4993 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.65e-05/0.3862, allocations: 22.53 kB / 0.4993 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3862, allocations: 4.062 kB / 0.4993 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.3863, allocations: 3.125 kB / 0.4993 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3863, allocations: 11.03 kB / 0.4993 GB, free: 27.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.555e-05/0.3863, allocations: 142.6 kB / 0.4995 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.3864, allocations: 14.12 kB / 0.4995 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.3866, allocations: 120.1 kB / 0.4996 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3866, allocations: 3.938 kB / 0.4996 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3866, allocations: 4 kB / 0.4996 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3866, allocations: 3.25 kB / 0.4996 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.387, allocations: 355.9 kB / 0.4999 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.387, allocations: 4.031 kB / 0.4999 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.585e-05/0.3871, allocations: 16.34 kB / 0.5 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3871, allocations: 3.219 kB / 0.5 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.3871, allocations: 0 / 0.5 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3871, allocations: 7.875 kB / 0.5 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3871, allocations: 3.25 kB / 0.5 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.3873, allocations: 207.2 kB / 0.5002 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.3873, allocations: 11 kB / 0.5002 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.3873, allocations: 3.219 kB / 0.5002 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.3874, allocations: 14.38 kB / 0.5002 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.3875, allocations: 10.48 kB / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3875, allocations: 3.094 kB / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.3876, allocations: 206.1 kB / 0.5004 GB, free: 27.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3876, allocations: 0 / 0.5004 GB, free: 27.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000255/0.3879, allocations: 26.88 kB / 0.5004 GB, free: 27.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.00175/0.3896, allocations: 491.1 kB / 0.5009 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.3898, allocations: 59.89 kB / 0.501 GB, free: 26.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3898, allocations: 0 / 0.501 GB, free: 26.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.901e-05/0.3899, allocations: 36.5 kB / 0.501 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.3903, allocations: 31.52 kB / 0.501 GB, free: 26.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005131/0.3908, allocations: 316.5 kB / 0.5013 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.667e-05/0.3909, allocations: 106.8 kB / 0.5014 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.024e-05/0.3909, allocations: 21.3 kB / 0.5014 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.3909, allocations: 14.78 kB / 0.5015 GB, free: 26.57 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3909, allocations: 0 / 0.5015 GB, free: 26.57 MB / 446.1 MB Notification: Performance of Templates: time 0.004008/0.395, allocations: 1.359 MB / 0.5028 GB, free: 26.37 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.089020660961978]