Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.00118/0.00118, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001858/0.003038, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001309/0.001309, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001582/0.002891, allocations: 455.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.054/1.054, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1436/1.198, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2861/0.2861, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05435/0.3404, allocations: 12.53 MB / 289.3 MB, free: 8.68 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 290.7 MB, free: 7.594 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.135e-05, allocations: 6.312 kB / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003216/0.003238, allocations: 2.001 MB / 292.7 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004786/0.008024, allocations: 1.049 MB / 293.7 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.00815, allocations: 7.938 kB / 293.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.008415, allocations: 47.64 kB / 293.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.008703, allocations: 95.47 kB / 293.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.00896, allocations: 99.52 kB / 294 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00325/0.01221, allocations: 155.5 kB / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.01233, allocations: 18.45 kB / 294.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.01252, allocations: 111.6 kB / 294.3 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.01264, allocations: 39.83 kB / 294.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.01266, allocations: 8 kB / 294.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.01278, allocations: 43.98 kB / 294.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.01283, allocations: 23.88 kB / 294.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.01289, allocations: 23.94 kB / 294.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.01312, allocations: 119.5 kB / 294.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-05/0.01315, allocations: 8 kB / 294.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01315, allocations: 0 / 294.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.01317, allocations: 0 / 294.5 MB, free: 4.375 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006091/0.01378, allocations: 413.9 kB / 294.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.01381, allocations: 15.97 kB / 294.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.01386, allocations: 12.92 kB / 295 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.01407, allocations: 158.4 kB / 295.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.0141, allocations: 8.375 kB / 295.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.01413, allocations: 12.36 kB / 295.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.01434, allocations: 133.9 kB / 295.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.01436, allocations: 7.938 kB / 295.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.01437, allocations: 0 / 295.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.01438, allocations: 0 / 295.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.012e-05/0.01443, allocations: 29.19 kB / 295.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.01483, allocations: 378 kB / 295.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.01502, allocations: 101.3 kB / 295.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.01506, allocations: 20.83 kB / 295.8 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.01507, allocations: 4 kB / 295.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00315/0.01822, allocations: 95.84 kB / 295.9 MB, free: 2.875 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.754e-06/0.01822, allocations: 0 / 295.9 MB, free: 2.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.000157/0.01838, allocations: 73.61 kB / 296 MB, free: 2.797 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.01841, allocations: 51.41 kB / 296 MB, free: 2.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.01855, allocations: 197.6 kB / 296.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.01857, allocations: 33.7 kB / 296.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.01863, allocations: 108 kB / 296.3 MB, free: 2.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.01866, allocations: 27.78 kB / 296.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.01871, allocations: 29.69 kB / 296.4 MB, free: 2.316 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.147e-05/0.0188, allocations: 330.7 kB / 296.7 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/0.01882, allocations: 14.81 kB / 296.7 MB, free: 1.969 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.91e-05/0.01886, allocations: 36.3 kB / 296.8 MB, free: 1.918 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.181e-05/0.01894, allocations: 89.81 kB / 296.9 MB, free: 1.812 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01895, allocations: 0 / 296.9 MB, free: 1.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001298/0.01908, allocations: 88.36 kB / 296.9 MB, free: 1.719 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.01909, allocations: 4 kB / 296.9 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.0191, allocations: 4 kB / 296.9 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.01911, allocations: 0 / 296.9 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.0192, allocations: 31.92 kB / 297 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.01921, allocations: 8.062 kB / 297 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.01925, allocations: 11.95 kB / 297 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.01926, allocations: 4 kB / 297 MB, free: 1.656 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.334e-05/0.01934, allocations: 124.6 kB / 297.1 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.01936, allocations: 4 kB / 297.1 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.01949, allocations: 83.06 kB / 297.2 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.01949, allocations: 0 / 297.2 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.01949, allocations: 4 kB / 297.2 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.0195, allocations: 3.984 kB / 297.2 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.0196, allocations: 105.7 kB / 297.3 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.01961, allocations: 7.938 kB / 297.3 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.01967, allocations: 15.98 kB / 297.3 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.01969, allocations: 11.95 kB / 297.4 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.01969, allocations: 0 / 297.4 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.0197, allocations: 0 / 297.4 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.0197, allocations: 0 / 297.4 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.0197, allocations: 0 / 297.4 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.01986, allocations: 123.1 kB / 297.5 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.01988, allocations: 8 kB / 297.5 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.437e-05/0.01991, allocations: 0 / 297.5 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.01996, allocations: 7.984 kB / 297.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.01998, allocations: 16.02 kB / 297.5 MB, free: 1.098 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.014e-05/0.02004, allocations: 53.41 kB / 297.6 MB, free: 1.043 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02004, allocations: 0 / 297.6 MB, free: 1.043 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001873/0.02022, allocations: 31.88 kB / 297.6 MB, free: 1.012 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.004491/0.02471, allocations: 0.5475 MB / 298.1 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.02487, allocations: 56.75 kB / 298.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/0.02488, allocations: 12.19 kB / 298.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.453e-05/0.02493, allocations: 24.8 kB / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.02513, allocations: 51.7 kB / 298.3 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005918/0.02573, allocations: 250.6 kB / 298.5 MB, free: 368 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.544e-05/0.02577, allocations: 75.83 kB / 298.6 MB, free: 272 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.118e-05/0.02582, allocations: 13.48 kB / 298.6 MB, free: 260 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.865e-05/0.02592, allocations: 83.3 kB / 298.7 MB, free: 176 kB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02592, allocations: 0 / 298.7 MB, free: 176 kB / 282.7 MB Notification: Performance of Templates: time 0.01108/0.03701, allocations: 2.24 MB / 300.9 MB, free: 13.97 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.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.17581011261791]