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.001693/0.001693, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.001948/0.001948, allocations: 215.5 kB / 24.48 MB, free: 3.836 MB / 14.72 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.618/1.618, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.2373/0.2373, allocations: 46.95 MB / 361.6 MB, free: 3.926 MB / 286.1 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.1.|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.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003511/0.003511, allocations: 87.86 kB / 0.4975 GB, free: 6.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3749, allocations: 66.08 MB / 0.562 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.0037/0.3786, allocations: 1.714 MB / 0.5637 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.3806, allocations: 0.9827 MB / 0.5646 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.675e-05/0.3807, allocations: 3.938 kB / 0.5646 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.381, allocations: 39.83 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003914/0.3814, allocations: 95.55 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.3817, allocations: 83.66 kB / 0.5648 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.3819, allocations: 115.6 kB / 0.5649 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.382, allocations: 7.984 kB / 0.5649 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.3821, allocations: 51.77 kB / 0.565 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.3822, allocations: 39.78 kB / 0.565 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.3822, allocations: 4 kB / 0.565 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.3825, allocations: 107.9 kB / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.973e-05/0.3825, allocations: 27.84 kB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.459e-05/0.3826, allocations: 31.8 kB / 0.5652 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.383, allocations: 169.8 kB / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.383, allocations: 4 kB / 0.5654 GB, free: 448 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.383, allocations: 4 kB / 0.5654 GB, free: 444 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.383, allocations: 0 / 0.5654 GB, free: 444 kB / 398.1 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.0006337/0.3836, allocations: 353.4 kB / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3836, allocations: 19.89 kB / 0.5657 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.012e-05/0.3837, allocations: 12.89 kB / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.3841, allocations: 150.3 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.3841, allocations: 4.375 kB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.3841, allocations: 4.375 kB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.3843, allocations: 101.4 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3843, allocations: 0 / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.3843, allocations: 8 kB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.3843, allocations: 0 / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.116e-05/0.3844, allocations: 23.92 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.3848, allocations: 216.6 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.385, allocations: 66.61 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.71e-05/0.3851, allocations: 28.91 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.3851, allocations: 0 / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.3853, allocations: 79.3 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.3853, allocations: 4 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006753/0.386, allocations: 217.2 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.386, allocations: 77.11 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.3862, allocations: 171 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3863, allocations: 29.64 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.3863, allocations: 100.1 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.3864, allocations: 31.73 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.3864, allocations: 25.72 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3866, allocations: 326.8 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.738e-05/0.3867, allocations: 31.98 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.3868, allocations: 95.44 kB / 0.5674 GB, free: 14.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.3869, allocations: 81.64 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3869, allocations: 3.938 kB / 0.5675 GB, free: 14.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002491/0.3872, allocations: 121.6 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3872, allocations: 7.984 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3872, allocations: 0 / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3872, allocations: 0 / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3873, allocations: 20 kB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.3873, allocations: 64 / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.116e-05/0.3874, allocations: 11.98 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3874, allocations: 4 kB / 0.5677 GB, free: 13.84 MB / 414.1 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 0.0001121/0.3875, allocations: 128 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.3875, allocations: 19.91 kB / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.3878, allocations: 134.3 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3879, allocations: 4 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3879, allocations: 0 / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.3879, allocations: 0 / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.3884, allocations: 378.8 kB / 0.5683 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3884, allocations: 0 / 0.5683 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.221e-05/0.3885, allocations: 16 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3885, allocations: 0 / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.3885, allocations: 7.984 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.3885, allocations: 0 / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3885, allocations: 3.938 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.3888, allocations: 232.2 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.3889, allocations: 15.91 kB / 0.5686 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.3889, allocations: 0 / 0.5686 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.793e-05/0.389, allocations: 8.031 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.389, allocations: 16.02 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.389, allocations: 7.938 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.3892, allocations: 139.2 kB / 0.5687 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3892, allocations: 0 / 0.5687 GB, free: 12.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000321/0.3895, allocations: 51.86 kB / 0.5688 GB, free: 12.63 MB / 414.1 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.002169/0.3916, allocations: 0.5894 MB / 0.5694 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.3919, allocations: 71.91 kB / 0.5694 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3919, allocations: 0 / 0.5694 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.392, allocations: 35.98 kB / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.3923, allocations: 31.91 kB / 0.5695 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005846/0.3929, allocations: 248.4 kB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.393, allocations: 93.44 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/0.3931, allocations: 23.42 kB / 0.5699 GB, free: 11.69 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3931, allocations: 0 / 0.5699 GB, free: 11.69 MB / 414.1 MB Notification: Performance of Templates: time 0.005475/0.3986, allocations: 2.593 MB / 0.5724 GB, free: 9.098 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.288154542911798]