Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.0009924/0.0009924, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001171/0.001171, allocations: 165 kB / 24.99 MB, free: 8.789 MB / 18.57 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.105/1.105, allocations: 177.1 MB / 205.3 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] 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.2767/0.2767, allocations: 32.8 MB / 294.6 MB, free: 1.285 MB / 266.7 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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.284e-05, allocations: 10.25 kB / 376 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002129/0.002152, allocations: 1.641 MB / 377.7 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007342/0.002886, allocations: 0.5336 MB / 378.2 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.35e-05/0.00295, allocations: 4 kB / 378.2 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.003147, allocations: 27.84 kB / 378.2 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.003417, allocations: 79.55 kB / 378.3 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.003683, allocations: 115.5 kB / 378.4 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.003822, allocations: 71.77 kB / 378.5 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.421e-05/0.003916, allocations: 7.984 kB / 378.5 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.857e-05/0.003975, allocations: 31.91 kB / 378.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.004025, allocations: 11.94 kB / 378.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.00404, allocations: 4 kB / 378.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.15e-05/0.004111, allocations: 39.91 kB / 378.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.365e-05/0.004155, allocations: 11.98 kB / 378.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.00418, allocations: 11.94 kB / 378.6 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.004323, allocations: 67.73 kB / 378.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.004326, allocations: 4 kB / 378.7 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.004327, allocations: 0 / 378.7 MB, free: 2.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.004331, allocations: 4 kB / 378.7 MB, free: 2.289 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003719/0.004703, allocations: 412.1 kB / 379.1 MB, free: 1.852 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.004737, allocations: 8.031 kB / 379.1 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.004777, allocations: 8.891 kB / 379.1 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.004913, allocations: 136.5 kB / 379.2 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.004921, allocations: 4.375 kB / 379.2 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.004941, allocations: 4.375 kB / 379.2 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.005047, allocations: 54.95 kB / 379.3 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.005056, allocations: 192 / 379.3 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.005066, allocations: 4.125 kB / 379.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.005074, allocations: 3.984 kB / 379.3 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.095e-05/0.005105, allocations: 4 kB / 379.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.005396, allocations: 275.8 kB / 379.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.005554, allocations: 43.05 kB / 379.6 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.005575, allocations: 19.67 kB / 379.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.005595, allocations: 3.938 kB / 379.6 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.005615, allocations: 37.39 kB / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.005616, allocations: 0 / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003402/0.005957, allocations: 109.4 kB / 379.8 MB, free: 1.047 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.005989, allocations: 51.41 kB / 379.8 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.006096, allocations: 200.3 kB / 380 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.006107, allocations: 25.7 kB / 380 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.006154, allocations: 142.9 kB / 380.2 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.006176, allocations: 23.78 kB / 380.2 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.006205, allocations: 23.38 kB / 380.2 MB, free: 0.543 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.006326, allocations: 0.4923 MB / 380.7 MB, free: 40 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.006346, allocations: 11.94 kB / 380.7 MB, free: 28 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.524e-05/0.006361, allocations: 7.984 kB / 380.7 MB, free: 20 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.119e-05/0.006412, allocations: 23.95 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.006413, allocations: 0 / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.382e-05/0.006487, allocations: 69.52 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.0065, allocations: 4 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.006505, allocations: 0 / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.006517, allocations: 0 / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.831e-05/0.006565, allocations: 15.98 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.00657, allocations: 7.938 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.614e-05/0.006586, allocations: 4 kB / 380.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.006591, allocations: 0 / 380.9 MB, free: 15.88 MB / 362.7 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 (5): * Single equations (assignments): 5 * 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 6.9e-05/0.00666, allocations: 156.6 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.00668, allocations: 15.89 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.006795, allocations: 66.14 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006797, allocations: 0 / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.006802, allocations: 0 / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006805, allocations: 0 / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.007134, allocations: 325.3 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007136, allocations: 4 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/0.007165, allocations: 8 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.007167, allocations: 0 / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.007174, allocations: 0 / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.007174, allocations: 0 / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.007176, allocations: 0 / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.007281, allocations: 219.9 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-06/0.007288, allocations: 3.953 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.007304, allocations: 8.062 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.005e-05/0.007334, allocations: 0 / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.007366, allocations: 15.98 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.007369, allocations: 0 / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.944e-05/0.007429, allocations: 145.6 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007429, allocations: 0 / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001621/0.007591, allocations: 16 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0008833/0.008474, allocations: 389.8 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.464e-05/0.008569, allocations: 27.67 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.00857, allocations: 0 / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.323e-05/0.008593, allocations: 23.61 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.00881, allocations: 26.42 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.00912, allocations: 182.6 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.095e-05/0.009161, allocations: 63.34 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.469e-05/0.009196, allocations: 11.98 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.009227, allocations: 16.5 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009227, allocations: 0 / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of Templates: time 0.002806/0.01203, allocations: 1.162 MB / 383.7 MB, free: 13.04 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.328126718988642]