Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001369/0.001369, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001683/0.001683, allocations: 164.1 kB / 24.82 MB, free: 9.328 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.9977/0.9977, allocations: 177 MB / 205.1 MB, free: 5.469 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.2463/0.2463, allocations: 34.86 MB / 296.6 MB, free: 0.5156 MB / 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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.154e-05, allocations: 6.25 kB / 379.3 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002053/0.002075, allocations: 1.681 MB / 380.9 MB, free: 128 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007246/0.002799, allocations: 0.5447 MB / 381.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.002858, allocations: 4 kB / 381.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.003102, allocations: 95.61 kB / 381.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.003348, allocations: 111.5 kB / 381.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.003602, allocations: 123.6 kB / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003784/0.00398, allocations: 103.7 kB / 381.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.511e-05/0.004075, allocations: 27.97 kB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.955e-05/0.004145, allocations: 55.88 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.415e-05/0.004229, allocations: 59.86 kB / 382 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.004244, allocations: 4 kB / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-05/0.004321, allocations: 47.92 kB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.004366, allocations: 31.8 kB / 382.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.004391, allocations: 23.92 kB / 382.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.004538, allocations: 107.6 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.00454, allocations: 0 / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004541, allocations: 0 / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.267e-06/0.004544, allocations: 0 / 382.3 MB, free: 14.8 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003498/0.004894, allocations: 467.7 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.004927, allocations: 12.03 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.004963, allocations: 24.78 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.00508, allocations: 160.4 kB / 382.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.005088, allocations: 384 / 382.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.005105, allocations: 8.375 kB / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.295e-05/0.005198, allocations: 70.06 kB / 383 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.005206, allocations: 192 / 383 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.005213, allocations: 4.375 kB / 383 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.005219, allocations: 4.375 kB / 383 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.133e-05/0.00525, allocations: 27.84 kB / 383 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002639/0.005514, allocations: 296.2 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.148e-05/0.005576, allocations: 58.97 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.005593, allocations: 19.67 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.005614, allocations: 4 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.005634, allocations: 41.33 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 7.81e-07/0.005634, allocations: 0 / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004691/0.006104, allocations: 213.4 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.006128, allocations: 55.41 kB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.006253, allocations: 242.7 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.006265, allocations: 29.7 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.00632, allocations: 166.7 kB / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.006351, allocations: 43.62 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.006386, allocations: 35.38 kB / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.006497, allocations: 0.5078 MB / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.006517, allocations: 8 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.036e-05/0.006537, allocations: 20.11 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.197e-05/0.006589, allocations: 50.66 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.00659, allocations: 0 / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.785e-05/0.006688, allocations: 101.5 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.006698, allocations: 4 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.006704, allocations: 8.703 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.006715, allocations: 3.984 kB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.318e-05/0.006788, allocations: 27.98 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.006791, allocations: 0 / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.006811, allocations: 7.984 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.006817, allocations: 4 kB / 384.9 MB, free: 11.91 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 (13): * Single equations (assignments): 13 * 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.434e-05/0.006881, allocations: 164.5 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.006906, allocations: 15.91 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.00705, allocations: 123.1 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.007052, allocations: 4 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.007053, allocations: 0 / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.007056, allocations: 0 / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.007359, allocations: 393.5 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.007362, allocations: 4 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.007413, allocations: 27.92 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.007415, allocations: 4 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.007422, allocations: 3.938 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.007424, allocations: 4 kB / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007425, allocations: 0 / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.007554, allocations: 259.5 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.007565, allocations: 19.91 kB / 385.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.007577, allocations: 3.984 kB / 385.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.647e-05/0.007613, allocations: 7.938 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.007639, allocations: 15.92 kB / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.007644, allocations: 0 / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.013e-05/0.007714, allocations: 177 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007714, allocations: 0 / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001705/0.007885, allocations: 27.92 kB / 386.2 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0008475/0.008732, allocations: 434.2 kB / 386.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.008834, allocations: 59.33 kB / 386.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.008835, allocations: 4 kB / 386.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.489e-05/0.00887, allocations: 39.61 kB / 386.7 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.0002028/0.009073, allocations: 15.98 kB / 386.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.009406, allocations: 288.6 kB / 387 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.164e-05/0.009447, allocations: 75.33 kB / 387.1 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.221e-05/0.00949, allocations: 20.53 kB / 387.1 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.009552, allocations: 82.2 kB / 387.2 MB, free: 9.684 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.009553, allocations: 0 / 387.2 MB, free: 9.684 MB / 362.7 MB Notification: Performance of Templates: time 0.003405/0.01296, allocations: 1.784 MB / 388.9 MB, free: 7.914 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.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.914132779929787]