Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001673/0.001673, allocations: 69.72 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.001872/0.001872, allocations: 161.9 kB / 24.5 MB, free: 3.711 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.516/1.516, 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.2098/0.2098, allocations: 32.8 MB / 294.1 MB, free: 20 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.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") [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.002458/0.002458, allocations: 63.91 kB / 440.6 MB, free: 9.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3742, allocations: 65.45 MB / 0.4942 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002883/0.3771, allocations: 1.618 MB / 0.4958 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009796/0.378, allocations: 0.5334 MB / 0.4963 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.786e-05/0.3781, allocations: 0 / 0.4963 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.3784, allocations: 92.14 kB / 0.4964 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.3787, allocations: 117.5 kB / 0.4965 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.379, allocations: 110.4 kB / 0.4966 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.3792, allocations: 92.7 kB / 0.4967 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3793, allocations: 10.28 kB / 0.4967 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.275e-05/0.3794, allocations: 38.41 kB / 0.4967 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.942e-05/0.3795, allocations: 64.16 kB / 0.4968 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.3795, allocations: 3.062 kB / 0.4968 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.3796, allocations: 47.12 kB / 0.4968 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.3797, allocations: 20.83 kB / 0.4968 GB, free: 29.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.3797, allocations: 25.81 kB / 0.4969 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.3799, allocations: 113.8 kB / 0.497 GB, free: 29.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3799, allocations: 0 / 0.497 GB, free: 29.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3799, allocations: 0 / 0.497 GB, free: 29.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3799, allocations: 0 / 0.497 GB, free: 29.67 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.000431/0.3803, allocations: 349.6 kB / 0.4973 GB, free: 29.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3804, allocations: 11.75 kB / 0.4973 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.3804, allocations: 11.81 kB / 0.4973 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.3806, allocations: 145.1 kB / 0.4975 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-06/0.3806, allocations: 4.375 kB / 0.4975 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.3806, allocations: 15.47 kB / 0.4975 GB, free: 29.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3807, allocations: 56.09 kB / 0.4975 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3807, allocations: 3.938 kB / 0.4975 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3807, allocations: 4 kB / 0.4975 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3807, allocations: 3.938 kB / 0.4976 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.07e-05/0.3808, allocations: 30.2 kB / 0.4976 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.3812, allocations: 248.4 kB / 0.4978 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.3813, allocations: 45.55 kB / 0.4979 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.614e-05/0.3813, allocations: 21.3 kB / 0.4979 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.3813, allocations: 0 / 0.4979 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.3813, allocations: 37.62 kB / 0.4979 GB, free: 28.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.3813, allocations: 0 / 0.4979 GB, free: 28.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009086/0.3823, allocations: 251 kB / 0.4982 GB, free: 28.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.3823, allocations: 51.41 kB / 0.4982 GB, free: 28.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.3825, allocations: 234.6 kB / 0.4984 GB, free: 28.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.3825, allocations: 25.7 kB / 0.4985 GB, free: 28.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.3825, allocations: 108.7 kB / 0.4986 GB, free: 28.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.3825, allocations: 30.45 kB / 0.4986 GB, free: 28.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.3826, allocations: 20.03 kB / 0.4986 GB, free: 28.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.226e-05/0.3826, allocations: 328.9 kB / 0.4989 GB, free: 28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.894e-05/0.3827, allocations: 27.12 kB / 0.4989 GB, free: 28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.088e-05/0.3828, allocations: 37.17 kB / 0.499 GB, free: 27.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.3829, allocations: 76.91 kB / 0.4991 GB, free: 27.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3829, allocations: 0 / 0.4991 GB, free: 27.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001966/0.3831, allocations: 115.2 kB / 0.4992 GB, free: 27.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3832, allocations: 6.031 kB / 0.4992 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3832, allocations: 80 / 0.4992 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.3832, allocations: 0 / 0.4992 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.3833, allocations: 15.86 kB / 0.4992 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3833, allocations: 10.98 kB / 0.4992 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.3833, allocations: 10.45 kB / 0.4992 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.3833, allocations: 3.938 kB / 0.4992 GB, free: 27.88 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.21e-05/0.3834, allocations: 130.8 kB / 0.4993 GB, free: 27.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.3834, allocations: 10.3 kB / 0.4993 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.3837, allocations: 138.7 kB / 0.4995 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3837, allocations: 3.25 kB / 0.4995 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3837, allocations: 0 / 0.4995 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3837, allocations: 4 kB / 0.4995 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.3841, allocations: 365.8 kB / 0.4998 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3841, allocations: 432 / 0.4998 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.85e-05/0.3842, allocations: 19.08 kB / 0.4999 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3842, allocations: 0 / 0.4999 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3842, allocations: 3.062 kB / 0.4999 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.3842, allocations: 7.875 kB / 0.4999 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3842, allocations: 0 / 0.4999 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.3844, allocations: 221.6 kB / 0.5001 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.3845, allocations: 18.61 kB / 0.5001 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.3845, allocations: 0 / 0.5001 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.549e-05/0.3846, allocations: 11.16 kB / 0.5001 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.3846, allocations: 6.594 kB / 0.5001 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.3846, allocations: 7.125 kB / 0.5001 GB, free: 27.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.3847, allocations: 175.3 kB / 0.5003 GB, free: 27.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3847, allocations: 0 / 0.5003 GB, free: 27.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.385, allocations: 24.59 kB / 0.5003 GB, free: 27.07 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.001783/0.3868, allocations: 0.4889 MB / 0.5008 GB, free: 26.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.387, allocations: 70.75 kB / 0.5008 GB, free: 26.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.387, allocations: 4 kB / 0.5009 GB, free: 26.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.656e-05/0.3871, allocations: 37.91 kB / 0.5009 GB, free: 26.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.3875, allocations: 27.83 kB / 0.5009 GB, free: 26.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.3881, allocations: 287.2 kB / 0.5012 GB, free: 26.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.3882, allocations: 99.91 kB / 0.5013 GB, free: 26.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.042e-05/0.3882, allocations: 23.41 kB / 0.5013 GB, free: 26.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.3883, allocations: 14.59 kB / 0.5013 GB, free: 26.54 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3883, allocations: 0 / 0.5013 GB, free: 26.54 MB / 446.1 MB Notification: Performance of Templates: time 0.004642/0.3929, allocations: 1.394 MB / 0.5027 GB, free: 26.33 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.030986374011263]