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.001304/0.001304, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.00194/0.00194, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9842/0.9842, allocations: 177 MB / 204.8 MB, free: 5.605 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.2772/0.2772, allocations: 34.87 MB / 296.3 MB, free: 0.5586 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.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 1.874e-06/1.874e-06, allocations: 0 / 378.9 MB, free: 2.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.241e-05, allocations: 3.156 kB / 378.9 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.00289/0.002923, allocations: 1.776 MB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004508/0.007431, allocations: 1.036 MB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.827e-05/0.007529, allocations: 0 / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.007853, allocations: 35.7 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003934/0.008247, allocations: 95.53 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.008484, allocations: 87.55 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.008681, allocations: 111.6 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.7e-05/0.008778, allocations: 7.984 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.008893, allocations: 63.77 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.306e-05/0.008986, allocations: 35.89 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.009005, allocations: 8 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.009203, allocations: 103.9 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.00926, allocations: 23.86 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/0.009307, allocations: 19.92 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.009602, allocations: 171.4 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.009608, allocations: 4 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.00961, allocations: 0 / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.009615, allocations: 0 / 382.4 MB, free: 14.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003593/0.01321, allocations: 455.7 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.01326, allocations: 8.031 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.306e-05/0.01334, allocations: 16.84 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.0136, allocations: 160.4 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.01362, allocations: 384 / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.01365, allocations: 4.375 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.01384, allocations: 108 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.01386, allocations: 4.172 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.01387, allocations: 384 / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.01388, allocations: 7.938 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.283e-05/0.01393, allocations: 11.98 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.01431, allocations: 279.8 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.01447, allocations: 59.09 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.01451, allocations: 23.81 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.01453, allocations: 0 / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.01466, allocations: 76.91 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/0.01466, allocations: 0 / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005213/0.01518, allocations: 169.3 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.01523, allocations: 77.11 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.01541, allocations: 224.7 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.01542, allocations: 25.7 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.01548, allocations: 150.9 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.01552, allocations: 39.62 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.01558, allocations: 39.36 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.01571, allocations: 0.4923 MB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.1e-05/0.01575, allocations: 12 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.01582, allocations: 80.73 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.44e-05/0.01591, allocations: 55.31 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01591, allocations: 0 / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.003183/0.01909, allocations: 105.5 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.01911, allocations: 12.06 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.01911, allocations: 0 / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.01913, allocations: 0 / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.01923, allocations: 23.92 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.01924, allocations: 4 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.348e-05/0.01928, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.01929, allocations: 4 kB / 385.1 MB, free: 11.5 MB / 362.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 9.158e-05/0.01938, allocations: 164.5 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.01941, allocations: 23.84 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.01961, allocations: 110.5 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01962, allocations: 4 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01962, allocations: 0 / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01962, allocations: 3.984 kB / 385.4 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008039/0.02043, allocations: 404.9 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.02043, allocations: 0 / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.02047, allocations: 12 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.02048, allocations: 4 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.02049, allocations: 4 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.02049, allocations: 0 / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.0205, allocations: 3.938 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.02069, allocations: 279.4 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.02071, allocations: 11.95 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.02073, allocations: 0 / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.597e-05/0.02079, allocations: 8 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.02083, allocations: 7.984 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.02085, allocations: 4 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.806e-05/0.02095, allocations: 168.1 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02095, allocations: 0 / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003113/0.02126, allocations: 47.88 kB / 386.3 MB, free: 10.17 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: 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.003683/0.02494, allocations: 0.5463 MB / 386.9 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.02522, allocations: 59.61 kB / 386.9 MB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.02522, allocations: 0 / 386.9 MB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.904e-05/0.02529, allocations: 39.66 kB / 387 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.02572, allocations: 39.17 kB / 387 MB, free: 9.645 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.02627, allocations: 218 kB / 387.2 MB, free: 9.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.409e-05/0.02633, allocations: 67.33 kB / 387.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.546e-05/0.02639, allocations: 24.75 kB / 387.3 MB, free: 9.289 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.02645, allocations: 24.48 kB / 387.3 MB, free: 9.266 MB / 362.7 MB Notification: Performance of SimCode: time 1.503e-06/0.02645, allocations: 0 / 387.3 MB, free: 9.266 MB / 362.7 MB Notification: Performance of Templates: time 0.006193/0.03264, allocations: 2.917 MB / 390.3 MB, free: 6.379 MB / 362.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.3504761019721627]