Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001005/0.001005, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001016/0.001016, allocations: 171.2 kB / 24.92 MB, free: 8.766 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 1.006/1.006, allocations: 177 MB / 205.2 MB, free: 5.426 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.2707/0.2707, allocations: 34.86 MB / 296.6 MB, free: 452 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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.72e-07/8.72e-07, allocations: 0 / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.498e-05, allocations: 4.141 kB / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002011/0.002026, allocations: 1.682 MB / 327.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006735/0.0027, allocations: 0.5369 MB / 328.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.1e-05/0.002741, allocations: 0 / 328.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.002888, allocations: 31.72 kB / 328.2 MB, free: 4.812 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.003089, allocations: 71.62 kB / 328.3 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.003306, allocations: 111.5 kB / 328.4 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.003417, allocations: 71.81 kB / 328.5 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.074e-05/0.003488, allocations: 8.75 kB / 328.5 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.362e-05/0.003542, allocations: 35.84 kB / 328.5 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.298e-05/0.003585, allocations: 23.91 kB / 328.5 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.003595, allocations: 0 / 328.5 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.734e-05/0.003652, allocations: 28 kB / 328.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.003682, allocations: 15.92 kB / 328.6 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.003701, allocations: 11.94 kB / 328.6 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.003809, allocations: 71.73 kB / 328.7 MB, free: 4.371 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.00381, allocations: 0 / 328.7 MB, free: 4.371 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003811, allocations: 0 / 328.7 MB, free: 4.371 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.876e-06/0.003814, allocations: 0 / 328.7 MB, free: 4.371 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002594/0.004073, allocations: 289.8 kB / 329 MB, free: 4.062 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.004101, allocations: 12.03 kB / 329 MB, free: 4.051 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.352e-05/0.004124, allocations: 4.938 kB / 329 MB, free: 4.047 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.004235, allocations: 129.7 kB / 329.1 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.004243, allocations: 4.375 kB / 329.1 MB, free: 3.891 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.004255, allocations: 384 / 329.1 MB, free: 3.891 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.269e-05/0.004328, allocations: 58.94 kB / 329.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.004337, allocations: 192 / 329.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.004343, allocations: 4.375 kB / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.004348, allocations: 384 / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.004367, allocations: 15.94 kB / 329.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.004547, allocations: 167 kB / 329.3 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.004649, allocations: 29.41 kB / 329.4 MB, free: 3.586 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.537e-05/0.004664, allocations: 12.94 kB / 329.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.004677, allocations: 0 / 329.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.004696, allocations: 34.62 kB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 6.21e-07/0.004696, allocations: 3.938 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002354/0.004932, allocations: 93.47 kB / 329.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.004954, allocations: 51.41 kB / 329.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.772e-05/0.005031, allocations: 145.5 kB / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.005041, allocations: 29.64 kB / 329.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/0.005068, allocations: 96.11 kB / 329.8 MB, free: 3.074 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.005087, allocations: 23.78 kB / 329.8 MB, free: 3.051 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.005111, allocations: 13.72 kB / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.079e-05/0.005182, allocations: 326.8 kB / 330.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.005191, allocations: 0 / 330.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.0052, allocations: 4 kB / 330.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.955e-05/0.00523, allocations: 27.86 kB / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.005231, allocations: 0 / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.516e-05/0.005286, allocations: 41.69 kB / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.005297, allocations: 12 kB / 330.3 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.005303, allocations: 7.922 kB / 330.3 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.005314, allocations: 0 / 330.3 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.406e-05/0.005348, allocations: 11.94 kB / 330.3 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.00535, allocations: 0 / 330.3 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.611e-05/0.005366, allocations: 8 kB / 330.3 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.005372, allocations: 3.984 kB / 330.3 MB, free: 2.578 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 (5): * Single equations (assignments): 5 * 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 4.75e-05/0.00542, allocations: 112.7 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.005436, allocations: 4 kB / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.778e-05/0.005514, allocations: 62.08 kB / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005515, allocations: 4 kB / 330.5 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.005516, allocations: 0 / 330.5 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005519, allocations: 0 / 330.5 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.005678, allocations: 210.8 kB / 330.7 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005679, allocations: 4 kB / 330.7 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.005703, allocations: 11.98 kB / 330.7 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.005705, allocations: 3.938 kB / 330.7 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-06/0.005709, allocations: 0 / 330.7 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.00571, allocations: 0 / 330.7 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005711, allocations: 192 / 330.7 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.566e-05/0.005776, allocations: 151.5 kB / 330.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-06/0.005783, allocations: 11.89 kB / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.005793, allocations: 7.922 kB / 330.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.992e-05/0.005823, allocations: 4 kB / 330.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.005841, allocations: 0 / 330.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.005843, allocations: 0 / 330.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.921e-05/0.005872, allocations: 42.73 kB / 330.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005872, allocations: 0 / 330.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000127/0.005999, allocations: 12 kB / 330.9 MB, free: 1.891 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 (5): * Single equations (assignments): 5 * 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.0009984/0.006998, allocations: 0.4949 MB / 331.4 MB, free: 1.645 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.437e-05/0.007062, allocations: 20.8 kB / 331.4 MB, free: 1.621 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.007066, allocations: 4 kB / 331.4 MB, free: 1.617 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.675e-05/0.007083, allocations: 16.84 kB / 331.5 MB, free: 1.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.007226, allocations: 18.8 kB / 331.5 MB, free: 1.582 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.007462, allocations: 171.5 kB / 331.6 MB, free: 1.383 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.028e-05/0.007492, allocations: 59.34 kB / 331.7 MB, free: 1.305 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.889e-05/0.007521, allocations: 19.97 kB / 331.7 MB, free: 1.285 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.007566, allocations: 55.38 kB / 331.8 MB, free: 1.23 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007567, allocations: 0 / 331.8 MB, free: 1.23 MB / 298.7 MB Notification: Performance of Templates: time 0.002481/0.01005, allocations: 1.256 MB / 333 MB, free: 15.98 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.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.986984336748719]