Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.001162/0.001162, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001821/0.002983, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001115/0.001115, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.002583, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.009/1.009, allocations: 177.5 MB / 190 MB, free: 4.754 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1009/1.11, allocations: 53.87 MB / 243.9 MB, free: 14.81 MB / 250.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.2791/0.2791, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02259/0.3017, allocations: 13.23 MB / 292.8 MB, free: 6.344 MB / 282.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 294.2 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.473e-05, allocations: 3.719 kB / 294.2 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002978/0.003002, allocations: 1.813 MB / 296 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.004604, allocations: 1.021 MB / 297 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.162e-05/0.004685, allocations: 7.938 kB / 297 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.004906, allocations: 39.7 kB / 297.1 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.005175, allocations: 95.42 kB / 297.2 MB, free: 1.953 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.005376, allocations: 83.53 kB / 297.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.005552, allocations: 103.7 kB / 297.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.375e-05/0.005636, allocations: 11.98 kB / 297.4 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.005784, allocations: 83.81 kB / 297.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.458e-05/0.005869, allocations: 23.91 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.005886, allocations: 4 kB / 297.5 MB, free: 1.648 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.693e-05/0.005983, allocations: 47.86 kB / 297.5 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.006036, allocations: 19.88 kB / 297.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.026e-05/0.006106, allocations: 15.94 kB / 297.6 MB, free: 1.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.006362, allocations: 99.66 kB / 297.6 MB, free: 1.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.006374, allocations: 0 / 297.6 MB, free: 1.469 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.006375, allocations: 0 / 297.6 MB, free: 1.469 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.006384, allocations: 0 / 297.6 MB, free: 1.469 MB / 282.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.0004216/0.006806, allocations: 348.9 kB / 298 MB, free: 1.105 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.006842, allocations: 8.922 kB / 298 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.006874, allocations: 8.922 kB / 298 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.007019, allocations: 154.1 kB / 298.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.007033, allocations: 4.375 kB / 298.2 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.007052, allocations: 8.359 kB / 298.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.399e-05/0.007146, allocations: 61.75 kB / 298.2 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.007154, allocations: 4.188 kB / 298.2 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.00716, allocations: 384 / 298.2 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.007165, allocations: 3.938 kB / 298.2 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.189e-05/0.007187, allocations: 15.94 kB / 298.3 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.007363, allocations: 173.8 kB / 298.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.212e-05/0.007445, allocations: 81.3 kB / 298.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.773e-05/0.007463, allocations: 12.92 kB / 298.5 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.007474, allocations: 7.984 kB / 298.5 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.843e-05/0.007562, allocations: 66.14 kB / 298.6 MB, free: 440 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.52e-07/0.007563, allocations: 0 / 298.6 MB, free: 440 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002843/0.007847, allocations: 113.5 kB / 298.7 MB, free: 320 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.007872, allocations: 55.41 kB / 298.8 MB, free: 252 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.394e-05/0.007966, allocations: 184.2 kB / 298.9 MB, free: 52 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.007978, allocations: 29.7 kB / 299 MB, free: 16 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.008013, allocations: 92.11 kB / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.008038, allocations: 35.72 kB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.008066, allocations: 21.72 kB / 299.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.399e-05/0.00813, allocations: 326.8 kB / 299.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.008143, allocations: 10.81 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.224e-05/0.008166, allocations: 22.66 kB / 299.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.641e-05/0.008202, allocations: 44.39 kB / 299.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.008204, allocations: 7.984 kB / 299.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.322e-05/0.008267, allocations: 68.56 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.00828, allocations: 14.75 kB / 299.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.008284, allocations: 0 / 299.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.008295, allocations: 3.938 kB / 299.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/0.008364, allocations: 16 kB / 299.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.008367, allocations: 0 / 299.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.008406, allocations: 12.36 kB / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.008412, allocations: 0 / 299.6 MB, free: 15.32 MB / 298.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 7.015e-05/0.008482, allocations: 120.7 kB / 299.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.008498, allocations: 15.92 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.008599, allocations: 79.08 kB / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.008601, allocations: 0 / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.008602, allocations: 0 / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.008605, allocations: 0 / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.008794, allocations: 291.5 kB / 300.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.008797, allocations: 3.938 kB / 300.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.008822, allocations: 12 kB / 300.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.008832, allocations: 11.91 kB / 300.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.008834, allocations: 4.031 kB / 300.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.008841, allocations: 7.984 kB / 300.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.008841, allocations: 4 kB / 300.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.008843, allocations: 3.938 kB / 300.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.762e-05/0.008931, allocations: 212.8 kB / 300.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.008945, allocations: 4 kB / 300.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.772e-05/0.008983, allocations: 4 kB / 300.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.009005, allocations: 7.984 kB / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.009015, allocations: 7.938 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.964e-05/0.009054, allocations: 52.7 kB / 300.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009054, allocations: 4 kB / 300.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001355/0.00919, allocations: 27.92 kB / 300.5 MB, free: 14.39 MB / 298.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.001354/0.01054, allocations: 0.6219 MB / 301.1 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.594e-05/0.01063, allocations: 44.77 kB / 301.1 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.01064, allocations: 4 kB / 301.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/0.01067, allocations: 33 kB / 301.2 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.01088, allocations: 191.7 kB / 301.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003944/0.01128, allocations: 235.9 kB / 301.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.005e-05/0.01132, allocations: 67.34 kB / 301.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.23e-05/0.01136, allocations: 17.16 kB / 301.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.215e-05/0.01143, allocations: 67.36 kB / 301.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01143, allocations: 0 / 301.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of Templates: time 0.00382/0.01525, allocations: 2.039 MB / 303.8 MB, free: 11.36 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.01049442589283]