Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001095/0.001095, 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.001711/0.001711, allocations: 164.2 kB / 24.91 MB, free: 8.754 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.9378/0.9378, allocations: 177 MB / 205.2 MB, free: 5.055 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.2643/0.2643, allocations: 34.85 MB / 296.6 MB, free: 472 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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.61e-07/8.61e-07, allocations: 0 / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.848e-06/1.071e-05, allocations: 2.312 kB / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002001/0.002012, allocations: 1.772 MB / 327.8 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.003203, allocations: 1.021 MB / 328.8 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.003255, allocations: 3.938 kB / 328.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.003451, allocations: 39.77 kB / 328.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.003672, allocations: 99.42 kB / 328.9 MB, free: 4.133 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.003804, allocations: 83.61 kB / 329 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.003938, allocations: 116.3 kB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.321e-05/0.004001, allocations: 11.98 kB / 329.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.668e-05/0.004078, allocations: 55.88 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.214e-05/0.00415, allocations: 35.84 kB / 329.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.004165, allocations: 4 kB / 329.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.004298, allocations: 111.8 kB / 329.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.004335, allocations: 15.92 kB / 329.4 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.004366, allocations: 27.92 kB / 329.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.004551, allocations: 171.3 kB / 329.6 MB, free: 3.512 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-06/0.004552, allocations: 4 kB / 329.6 MB, free: 3.508 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004553, allocations: 0 / 329.6 MB, free: 3.508 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.665e-06/0.004555, allocations: 0 / 329.6 MB, free: 3.508 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003643/0.00492, allocations: 329.5 kB / 329.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.004951, allocations: 8.031 kB / 329.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.004987, allocations: 8.922 kB / 329.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.005134, allocations: 149.5 kB / 330 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.005148, allocations: 384 / 330 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.005166, allocations: 8.375 kB / 330 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.005277, allocations: 109.1 kB / 330.2 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.005284, allocations: 4.188 kB / 330.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.005291, allocations: 384 / 330.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.005297, allocations: 3.938 kB / 330.2 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.687e-05/0.005324, allocations: 14.83 kB / 330.2 MB, free: 2.816 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.005492, allocations: 166 kB / 330.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.623e-05/0.005578, allocations: 88.06 kB / 330.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.005598, allocations: 16.84 kB / 330.4 MB, free: 2.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.005607, allocations: 4 kB / 330.4 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.281e-05/0.00568, allocations: 70.33 kB / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.005681, allocations: 0 / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002686/0.005949, allocations: 137.4 kB / 330.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.00599, allocations: 85.05 kB / 330.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/0.006088, allocations: 160.3 kB / 330.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.006104, allocations: 29.7 kB / 330.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/0.006129, allocations: 88.12 kB / 331 MB, free: 1.895 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.006155, allocations: 31.73 kB / 331 MB, free: 1.863 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.006187, allocations: 29.7 kB / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.006266, allocations: 326.8 kB / 331.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.006286, allocations: 18.81 kB / 331.4 MB, free: 1.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.856e-05/0.006325, allocations: 60.25 kB / 331.5 MB, free: 1.406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.985e-05/0.006374, allocations: 48.55 kB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.006376, allocations: 0 / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.141e-05/0.006457, allocations: 89.61 kB / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.006468, allocations: 4 kB / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.006471, allocations: 0 / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.006482, allocations: 0 / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.004e-05/0.006542, allocations: 27.92 kB / 331.6 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.006546, allocations: 8.062 kB / 331.6 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.607e-05/0.006572, allocations: 0 / 331.6 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.006578, allocations: 4 kB / 331.6 MB, free: 1.215 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 (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.153e-05/0.00664, allocations: 116.7 kB / 331.8 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.006653, allocations: 11.92 kB / 331.8 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.006753, allocations: 82.38 kB / 331.8 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.006756, allocations: 4 kB / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-06/0.006759, allocations: 3.984 kB / 331.9 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.006762, allocations: 3.938 kB / 331.9 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.006998, allocations: 359.3 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.007, allocations: 4 kB / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/0.007026, allocations: 11.94 kB / 332.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.007028, allocations: 4 kB / 332.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.007034, allocations: 3.984 kB / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.007035, allocations: 0 / 332.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.007038, allocations: 4 kB / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.819e-05/0.007136, allocations: 225.6 kB / 332.5 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.007148, allocations: 11.94 kB / 332.5 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.007162, allocations: 0 / 332.5 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.007202, allocations: 12.03 kB / 332.5 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.007224, allocations: 7.984 kB / 332.5 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.007231, allocations: 0 / 332.5 MB, free: 312 kB / 298.7 MB Notification: Performance of sorting global known variables: time 3.839e-05/0.00727, allocations: 54.42 kB / 332.5 MB, free: 256 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00727, allocations: 0 / 332.5 MB, free: 256 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001686/0.007438, allocations: 55.86 kB / 332.6 MB, free: 200 kB / 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 (11): * Single equations (assignments): 9 * 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.001367/0.008806, allocations: 0.6895 MB / 333.3 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.923e-05/0.008895, allocations: 52.77 kB / 333.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.008897, allocations: 0 / 333.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.078e-05/0.008928, allocations: 28.78 kB / 333.4 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.009081, allocations: 42.7 kB / 333.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.009355, allocations: 212.2 kB / 333.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.669e-05/0.009392, allocations: 63.34 kB / 333.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.134e-05/0.009433, allocations: 20.62 kB / 333.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.009514, allocations: 83.34 kB / 333.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009514, allocations: 0 / 333.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of Templates: time 0.004005/0.01352, allocations: 2.922 MB / 336.7 MB, free: 12.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.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.094478930812329]