Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 216.5 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.705/1.705, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2613/0.2613, allocations: 46.94 MB / 360.8 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 71.89 kB / 0.4967 GB, free: 7.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3768, allocations: 66.03 MB / 0.5612 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003427/0.3803, allocations: 1.753 MB / 0.5629 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.3824, allocations: 1.069 MB / 0.5639 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.661e-05/0.3825, allocations: 11.88 kB / 0.564 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.3828, allocations: 39.77 kB / 0.564 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.3832, allocations: 87.62 kB / 0.5641 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.3834, allocations: 83.66 kB / 0.5642 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.3836, allocations: 111.7 kB / 0.5643 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3837, allocations: 11.92 kB / 0.5643 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.3839, allocations: 51.78 kB / 0.5643 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.384, allocations: 43.83 kB / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.384, allocations: 4 kB / 0.5644 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.3842, allocations: 119.9 kB / 0.5645 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.095e-05/0.3843, allocations: 19.92 kB / 0.5645 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.866e-05/0.3844, allocations: 39.73 kB / 0.5645 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003547/0.3847, allocations: 177.7 kB / 0.5647 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3847, allocations: 4 kB / 0.5647 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3847, allocations: 0 / 0.5647 GB, free: 0.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.3847, allocations: 0 / 0.5647 GB, free: 0.793 MB / 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.0006454/0.3854, allocations: 357.4 kB / 0.5651 GB, free: 424 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3854, allocations: 12.03 kB / 0.5651 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.3855, allocations: 8.891 kB / 0.5651 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.3858, allocations: 154.3 kB / 0.5652 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.3858, allocations: 8.375 kB / 0.5652 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.3858, allocations: 4.125 kB / 0.5652 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.386, allocations: 71.33 kB / 0.5653 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.386, allocations: 0 / 0.5653 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.386, allocations: 0 / 0.5653 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.386, allocations: 11.94 kB / 0.5653 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.3861, allocations: 15.98 kB / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.3865, allocations: 256 kB / 0.5656 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.3867, allocations: 66.55 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.641e-05/0.3868, allocations: 24.97 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.3868, allocations: 4 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.387, allocations: 71.39 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.387, allocations: 0 / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006593/0.3876, allocations: 209.2 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/0.3877, allocations: 77.11 kB / 0.566 GB, free: 15.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.3879, allocations: 169.9 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.3879, allocations: 29.7 kB / 0.5662 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/0.388, allocations: 104.1 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.3881, allocations: 35.72 kB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.3881, allocations: 25.72 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3883, allocations: 322.8 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/0.3884, allocations: 27.98 kB / 0.5667 GB, free: 14.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.3885, allocations: 58.55 kB / 0.5667 GB, free: 14.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.3886, allocations: 85.61 kB / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3886, allocations: 0 / 0.5668 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002453/0.3889, allocations: 117.6 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3889, allocations: 10.5 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3889, allocations: 0 / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3889, allocations: 0 / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.3891, allocations: 23.92 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3891, allocations: 8.031 kB / 0.567 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.732e-05/0.3891, allocations: 7.938 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3891, allocations: 4 kB / 0.567 GB, free: 14.25 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.0001096/0.3892, allocations: 121.8 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.3893, allocations: 11.91 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.3896, allocations: 130.7 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3896, allocations: 0 / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3896, allocations: 4.188 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3896, allocations: 11.92 kB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005953/0.3902, allocations: 398.2 kB / 0.5676 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3902, allocations: 4 kB / 0.5676 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.097e-05/0.3902, allocations: 15.94 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3902, allocations: 0 / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3902, allocations: 4 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3902, allocations: 0 / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.3902, allocations: 3.984 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.3905, allocations: 224.3 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.3906, allocations: 15.84 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.3906, allocations: 4 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.474e-05/0.3907, allocations: 7.984 kB / 0.5679 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.3907, allocations: 7.938 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.3907, allocations: 7.984 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.3909, allocations: 127.2 kB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3909, allocations: 0 / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003343/0.3912, allocations: 55.86 kB / 0.5681 GB, free: 13.03 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 (10): * Single equations (assignments): 8 * 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.002075/0.3933, allocations: 0.5529 MB / 0.5686 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.3935, allocations: 71.91 kB / 0.5687 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3935, allocations: 0 / 0.5687 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.768e-05/0.3936, allocations: 35.92 kB / 0.5687 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.394, allocations: 36.22 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005078/0.3945, allocations: 211.3 kB / 0.569 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.3948, allocations: 0.7046 MB / 0.5697 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.395e-05/0.3949, allocations: 20.42 kB / 0.5697 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.832e-05/0.395, allocations: 31.36 kB / 0.5697 GB, free: 11.53 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.395, allocations: 0 / 0.5697 GB, free: 11.53 MB / 414.1 MB Notification: Performance of Templates: time 0.006552/0.4015, allocations: 2.559 MB / 0.5722 GB, free: 8.984 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.704942606156692]