Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.0009465/0.0009465, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.001038/0.001038, allocations: 160.5 kB / 24.56 MB, free: 12 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 0.9696/0.9696, allocations: 177 MB / 204.8 MB, free: 5.227 MB / 186.7 MB " [Timeout remaining time 179] 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.2693/0.2693, allocations: 34.87 MB / 296.3 MB, free: 436 kB / 266.7 MB " [Timeout remaining time 180] 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.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 378.9 MB, free: 1.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.382e-05, allocations: 4.422 kB / 378.9 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002773/0.002807, allocations: 1.75 MB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.00423, allocations: 1.012 MB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.885e-05/0.004328, allocations: 4 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003825/0.004711, allocations: 39.7 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000378/0.005089, allocations: 95.53 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.005333, allocations: 79.59 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.005539, allocations: 107.6 kB / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.005646, allocations: 7.984 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.005752, allocations: 63.77 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.507e-05/0.005837, allocations: 23.91 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.00586, allocations: 4 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.005961, allocations: 47.91 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.006014, allocations: 19.94 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.006062, allocations: 19.92 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.006313, allocations: 95.59 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.006321, allocations: 0 / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.006323, allocations: 0 / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.006332, allocations: 0 / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006419/0.006974, allocations: 447.9 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.007026, allocations: 8.031 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.358e-05/0.007099, allocations: 12.89 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.007369, allocations: 153.8 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.007396, allocations: 384 / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.007427, allocations: 4.375 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.007607, allocations: 70.86 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.007621, allocations: 192 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.007632, allocations: 384 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.007644, allocations: 7.938 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.917e-05/0.007683, allocations: 15.98 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.008086, allocations: 279.8 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.00824, allocations: 51.11 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.00828, allocations: 19.69 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.008298, allocations: 0 / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.008433, allocations: 72.94 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.008434, allocations: 0 / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005256/0.00896, allocations: 153.4 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.009003, allocations: 51.41 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.009143, allocations: 220.1 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.009159, allocations: 25.7 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.009233, allocations: 158.8 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.009268, allocations: 23.8 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.009312, allocations: 27.36 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.009449, allocations: 0.4923 MB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.871e-05/0.009488, allocations: 12 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.72e-05/0.009535, allocations: 43.23 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.278e-05/0.009608, allocations: 47.36 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.00961, allocations: 7.938 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000157/0.009767, allocations: 93.47 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.009788, allocations: 8 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.009795, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.009813, allocations: 0 / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.009932, allocations: 15.98 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.009941, allocations: 4 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.001e-05/0.009981, allocations: 4 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.009992, allocations: 4 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000115/0.01011, allocations: 164.5 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.01013, allocations: 16.3 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.01034, allocations: 106.4 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.01034, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.01035, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.01036, allocations: 4 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003955/0.01075, allocations: 392.9 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.01076, allocations: 0 / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.851e-05/0.01079, allocations: 11.98 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.0108, allocations: 4 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.01081, allocations: 4.031 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.01081, allocations: 0 / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01082, allocations: 0 / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.01102, allocations: 255.4 kB / 385.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.01103, allocations: 7.953 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.01106, allocations: 8 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.689e-05/0.01112, allocations: 3.984 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.01117, allocations: 4 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.01119, allocations: 7.984 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.594e-05/0.01129, allocations: 164 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01129, allocations: 0 / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002151/0.0115, allocations: 27.94 kB / 385.9 MB, free: 10.61 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001126/0.01263, allocations: 442.5 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.01278, allocations: 59.52 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01279, allocations: 4 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.598e-05/0.01283, allocations: 35.61 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.0131, allocations: 27.94 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.01353, allocations: 218.4 kB / 386.6 MB, free: 9.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.67e-05/0.01358, allocations: 67.33 kB / 386.7 MB, free: 9.844 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.172e-05/0.01362, allocations: 13.28 kB / 386.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.01366, allocations: 24.48 kB / 386.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01366, allocations: 0 / 386.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of Templates: time 0.004393/0.01805, allocations: 1.985 MB / 388.7 MB, free: 7.852 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.1175199011340737]