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.001848/0.001848, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001921/0.001921, allocations: 216.2 kB / 23.73 MB, free: 4.406 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.419/1.419, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.2511/0.2511, allocations: 46.95 MB / 360.8 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 179] 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.002754/0.002754, allocations: 91.78 kB / 0.4967 GB, free: 6.953 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3703, allocations: 66.07 MB / 0.5612 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003891/0.3742, allocations: 1.718 MB / 0.5629 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.3765, allocations: 0.9865 MB / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.472e-05/0.3766, allocations: 0 / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.377, allocations: 47.7 kB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.3773, allocations: 87.56 kB / 0.564 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.3776, allocations: 91.66 kB / 0.5641 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.3778, allocations: 107.7 kB / 0.5642 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3779, allocations: 7.984 kB / 0.5642 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.378, allocations: 51.72 kB / 0.5643 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.3781, allocations: 43.77 kB / 0.5643 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.3782, allocations: 4 kB / 0.5643 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.3784, allocations: 107.9 kB / 0.5644 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.3785, allocations: 15.92 kB / 0.5644 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.342e-05/0.3785, allocations: 35.73 kB / 0.5645 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.3789, allocations: 177.8 kB / 0.5646 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.3789, allocations: 4 kB / 0.5646 GB, free: 448 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3789, allocations: 0 / 0.5646 GB, free: 448 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.3789, allocations: 0 / 0.5646 GB, free: 448 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.0007195/0.3796, allocations: 365.4 kB / 0.565 GB, free: 52 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3797, allocations: 8.031 kB / 0.565 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.3797, allocations: 8.891 kB / 0.565 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.38, allocations: 154.3 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.38, allocations: 4.375 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.3801, allocations: 4.375 kB / 0.5651 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.3803, allocations: 101.4 kB / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3803, allocations: 4 kB / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3803, allocations: 0 / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.3803, allocations: 4 kB / 0.5653 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.784e-05/0.3804, allocations: 15.98 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.3808, allocations: 220.6 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.381, allocations: 70.59 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.006e-05/0.381, allocations: 32.84 kB / 0.5656 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.3811, allocations: 4 kB / 0.5656 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.3812, allocations: 83.3 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.3812, allocations: 0 / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006466/0.3819, allocations: 213.3 kB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/0.3819, allocations: 77.11 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.3821, allocations: 166.9 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.3822, allocations: 33.7 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.3822, allocations: 96.12 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.3823, allocations: 31.73 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.3823, allocations: 25.72 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3825, allocations: 326.8 kB / 0.5666 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.655e-05/0.3826, allocations: 35.98 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.3827, allocations: 80.25 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.3828, allocations: 85.58 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3829, allocations: 8 kB / 0.5668 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002327/0.3831, allocations: 121.5 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3831, allocations: 10.34 kB / 0.5669 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3831, allocations: 0 / 0.5669 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3831, allocations: 0 / 0.5669 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.3832, allocations: 20.05 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3832, allocations: 8.469 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.3833, allocations: 0 / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.3833, allocations: 8 kB / 0.5669 GB, free: 13.85 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.0001284/0.3834, allocations: 125.7 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.3835, allocations: 11.91 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003028/0.3838, allocations: 142.3 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3838, allocations: 4 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3838, allocations: 0 / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3838, allocations: 0 / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005581/0.3843, allocations: 382.8 kB / 0.5676 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3843, allocations: 0 / 0.5676 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.062e-05/0.3844, allocations: 16.17 kB / 0.5676 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3844, allocations: 0 / 0.5676 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3844, allocations: 7.938 kB / 0.5676 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3844, allocations: 0 / 0.5676 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3844, allocations: 3.938 kB / 0.5676 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.3847, allocations: 232.4 kB / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.3848, allocations: 15.91 kB / 0.5678 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3848, allocations: 4.031 kB / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.3849, allocations: 4 kB / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.3849, allocations: 15.92 kB / 0.5679 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.3849, allocations: 7.984 kB / 0.5679 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.3851, allocations: 131.2 kB / 0.568 GB, free: 12.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3851, allocations: 4 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003179/0.3854, allocations: 51.86 kB / 0.5681 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.002322/0.3877, allocations: 0.5822 MB / 0.5686 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.3879, allocations: 71.91 kB / 0.5687 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3879, allocations: 0 / 0.5687 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.8e-05/0.388, allocations: 35.92 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3884, allocations: 36.31 kB / 0.5688 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.3889, allocations: 230.7 kB / 0.569 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.389, allocations: 89.31 kB / 0.5691 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.835e-05/0.3891, allocations: 24.56 kB / 0.5691 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.3892, allocations: 23.42 kB / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3892, allocations: 0 / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of Templates: time 0.006529/0.3957, allocations: 2.696 MB / 0.5717 GB, free: 9.023 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/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: 5.321034321561456]