Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001971/0.001971, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002463/0.002463, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 177 MB / 204.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.393/0.393, allocations: 34.24 MB / 295.2 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.502e-05/4.751e-05, allocations: 4.844 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.004008/0.004056, allocations: 1.619 MB / 378.8 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.00528, allocations: 0.5331 MB / 379.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.005339, allocations: 3.938 kB / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.005679, allocations: 75.7 kB / 379.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.006023, allocations: 107.5 kB / 379.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.006353, allocations: 111.7 kB / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.006553, allocations: 91.73 kB / 379.8 MB, free: 360 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.006662, allocations: 8 kB / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.779e-05/0.00676, allocations: 51.81 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.006879, allocations: 43.95 kB / 379.9 MB, free: 256 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.0069, allocations: 7.938 kB / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.007009, allocations: 47.91 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.007069, allocations: 23.92 kB / 379.9 MB, free: 176 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.007116, allocations: 19.92 kB / 380 MB, free: 156 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.007347, allocations: 103.6 kB / 380.1 MB, free: 52 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.007355, allocations: 4 kB / 380.1 MB, free: 48 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.007356, allocations: 0 / 380.1 MB, free: 48 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.007361, allocations: 0 / 380.1 MB, free: 48 kB / 346.7 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.0006301/0.007991, allocations: 345.5 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.008027, allocations: 8.031 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.299e-05/0.0081, allocations: 16.84 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.008343, allocations: 142.3 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.008358, allocations: 4.375 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.008387, allocations: 4.375 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.008553, allocations: 58.19 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.008565, allocations: 192 / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.008577, allocations: 4.375 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.008581, allocations: 384 / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.00869, allocations: 31.91 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.009131, allocations: 244.5 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.009271, allocations: 46.48 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.971e-05/0.009331, allocations: 16.86 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.009354, allocations: 4 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.009403, allocations: 38.58 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.009404, allocations: 4 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001032/0.01044, allocations: 241.5 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.01049, allocations: 55.41 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.01076, allocations: 218.7 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.01079, allocations: 33.7 kB / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.103e-05/0.01088, allocations: 100.1 kB / 381.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.01092, allocations: 31.73 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.01097, allocations: 25.66 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.01117, allocations: 326.8 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.251e-05/0.01127, allocations: 27.92 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.644e-05/0.01135, allocations: 32.05 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.01154, allocations: 85.02 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.01154, allocations: 0 / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002568/0.0118, allocations: 121.5 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.01182, allocations: 4 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.01182, allocations: 0 / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.01184, allocations: 0 / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.01196, allocations: 23.92 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.01196, allocations: 0 / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/0.01201, allocations: 8 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.01202, allocations: 0 / 382.3 MB, free: 13.61 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 (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 0.000137/0.01216, allocations: 129.8 kB / 382.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.0122, allocations: 19.84 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.01254, allocations: 131.1 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01255, allocations: 0 / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01255, allocations: 0 / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01255, allocations: 0 / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007485/0.0133, allocations: 366.8 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.0133, allocations: 0 / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.03e-05/0.01338, allocations: 19.98 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.01339, allocations: 4 kB / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.0134, allocations: 0 / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.0134, allocations: 0 / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.0134, allocations: 0 / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.01374, allocations: 228.1 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.01376, allocations: 11.98 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.01379, allocations: 8 kB / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.01386, allocations: 0 / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.01391, allocations: 7.984 kB / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.01392, allocations: 4 kB / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001796/0.0141, allocations: 163.2 kB / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0141, allocations: 0 / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002732/0.01437, allocations: 31.8 kB / 383.4 MB, free: 12.44 MB / 362.7 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.002324/0.01669, allocations: 476.3 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.01696, allocations: 79.88 kB / 384 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01696, allocations: 0 / 384 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.01707, allocations: 36.03 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.01745, allocations: 26.75 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/0.01808, allocations: 273.4 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.0182, allocations: 92.81 kB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.024e-05/0.01827, allocations: 25.02 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.01831, allocations: 12.5 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01832, allocations: 4 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of Templates: time 0.004987/0.0233, allocations: 1.407 MB / 385.8 MB, free: 10.16 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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: 4.90518084494397]