Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001371/0.001371, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001308/0.001308, allocations: 165.5 kB / 24.91 MB, free: 8.758 MB / 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.9823/0.9823, allocations: 177 MB / 205.2 MB, free: 5.418 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.2577/0.2577, allocations: 34.87 MB / 296.6 MB, free: 500 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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.144e-05, allocations: 6.031 kB / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002173/0.002195, allocations: 1.7 MB / 327.6 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.003388, allocations: 1.316 MB / 328.9 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/0.003437, allocations: 0 / 328.9 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.003619, allocations: 31.77 kB / 329 MB, free: 4.086 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.003859, allocations: 83.56 kB / 329.1 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.004129, allocations: 179.4 kB / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.004242, allocations: 79.72 kB / 329.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.628e-05/0.004319, allocations: 23.95 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.49e-05/0.004374, allocations: 35.91 kB / 329.4 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.102e-05/0.004455, allocations: 31.89 kB / 329.4 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.004467, allocations: 8 kB / 329.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.004579, allocations: 91.88 kB / 329.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.004622, allocations: 15.94 kB / 329.5 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.004647, allocations: 27.91 kB / 329.5 MB, free: 3.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.004816, allocations: 139.5 kB / 329.7 MB, free: 3.383 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.004818, allocations: 0 / 329.7 MB, free: 3.383 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.004819, allocations: 0 / 329.7 MB, free: 3.383 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.846e-06/0.004822, allocations: 0 / 329.7 MB, free: 3.383 MB / 298.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.0003195/0.005141, allocations: 313.6 kB / 330 MB, free: 3.051 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.005169, allocations: 12.03 kB / 330 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.005195, allocations: 8.938 kB / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.005315, allocations: 137.6 kB / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-06/0.005322, allocations: 384 / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.005342, allocations: 8.359 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.00545, allocations: 106.3 kB / 330.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.005458, allocations: 192 / 330.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.005466, allocations: 4.375 kB / 330.3 MB, free: 2.734 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.00547, allocations: 384 / 330.3 MB, free: 2.734 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.212e-05/0.005492, allocations: 11.88 kB / 330.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002041/0.005696, allocations: 179.1 kB / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.196e-05/0.005748, allocations: 30.58 kB / 330.5 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.005763, allocations: 8.859 kB / 330.5 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.005776, allocations: 0 / 330.5 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.005797, allocations: 42.64 kB / 330.5 MB, free: 2.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 5.71e-07/0.005798, allocations: 0 / 330.5 MB, free: 2.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002861/0.006084, allocations: 113.4 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.006121, allocations: 81.11 kB / 330.7 MB, free: 2.215 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.359e-05/0.006205, allocations: 144.5 kB / 330.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.006216, allocations: 25.7 kB / 330.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.006247, allocations: 100.1 kB / 331 MB, free: 1.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.006266, allocations: 27.73 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.006294, allocations: 21.69 kB / 331 MB, free: 1.875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.262e-05/0.006367, allocations: 318.8 kB / 331.3 MB, free: 1.555 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.00638, allocations: 7.984 kB / 331.3 MB, free: 1.547 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.381e-05/0.006414, allocations: 43.42 kB / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.977e-05/0.006454, allocations: 35.66 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.006455, allocations: 0 / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.4e-05/0.006519, allocations: 57.61 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.00653, allocations: 7.938 kB / 331.5 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.006534, allocations: 4.031 kB / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.006544, allocations: 0 / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.006607, allocations: 15.98 kB / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.00661, allocations: 320 / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.26e-05/0.006632, allocations: 4 kB / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.006638, allocations: 4 kB / 331.5 MB, free: 1.355 MB / 298.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 (7): * Single equations (assignments): 7 * 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 5.236e-05/0.00669, allocations: 116.7 kB / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.006708, allocations: 7.938 kB / 331.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.685e-05/0.006804, allocations: 78.36 kB / 331.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.006807, allocations: 4 kB / 331.7 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.006808, allocations: 0 / 331.7 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.00681, allocations: 0 / 331.7 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.007008, allocations: 222.8 kB / 331.9 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.00701, allocations: 3.984 kB / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.007049, allocations: 23.88 kB / 332 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.00705, allocations: 0 / 332 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.007055, allocations: 3.984 kB / 332 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007056, allocations: 0 / 332 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.007057, allocations: 0 / 332 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.646e-05/0.007133, allocations: 147.5 kB / 332.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.007144, allocations: 19.88 kB / 332.1 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.007155, allocations: 4 kB / 332.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.633e-05/0.007192, allocations: 4 kB / 332.1 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.007214, allocations: 3.984 kB / 332.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.007217, allocations: 8.219 kB / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.751e-05/0.007245, allocations: 29.61 kB / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007245, allocations: 0 / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.007407, allocations: 47.86 kB / 332.2 MB, free: 0.5859 MB / 298.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 (7): * Single equations (assignments): 7 * 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.001217/0.008624, allocations: 0.6136 MB / 332.8 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.464e-05/0.008708, allocations: 40.83 kB / 332.9 MB, free: 220 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.008712, allocations: 0 / 332.9 MB, free: 220 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.449e-05/0.008736, allocations: 24.78 kB / 332.9 MB, free: 192 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.008881, allocations: 20.88 kB / 332.9 MB, free: 172 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.009176, allocations: 194.8 kB / 333.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.595e-05/0.009212, allocations: 67.34 kB / 333.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.575e-05/0.009258, allocations: 21.02 kB / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.009323, allocations: 67.36 kB / 333.3 MB, free: 15.78 MB / 314.7 MB Notification: Performance of SimCode: time 6.42e-07/0.009324, allocations: 0 / 333.3 MB, free: 15.78 MB / 314.7 MB Notification: Performance of Templates: time 0.003576/0.0129, allocations: 2.144 MB / 335.4 MB, free: 13.65 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.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: 2.9042569110170007]