Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001118/0.001118, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001626/0.002744, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007638/0.0007638, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.001805, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.068/1.068, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1003/1.169, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.2873/0.2873, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02415/0.3114, allocations: 13.09 MB / 291.3 MB, free: 7.383 MB / 282.7 MB " [Timeout remaining time 180] 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.557e-05, allocations: 3.297 kB / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.00278/0.002796, allocations: 1.812 MB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.004425, allocations: 1.018 MB / 295.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.004505, allocations: 4 kB / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.004699, allocations: 35.72 kB / 295.6 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.004951, allocations: 95.47 kB / 295.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.005141, allocations: 79.66 kB / 295.8 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.005317, allocations: 115.6 kB / 295.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.034e-05/0.005397, allocations: 7.938 kB / 295.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.005546, allocations: 75.88 kB / 295.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.533e-05/0.005631, allocations: 31.84 kB / 296 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.005649, allocations: 4 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.905e-05/0.005748, allocations: 47.86 kB / 296 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.005794, allocations: 19.92 kB / 296.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.005833, allocations: 15.94 kB / 296.1 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.006024, allocations: 99.66 kB / 296.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.511e-05/0.006039, allocations: 0 / 296.2 MB, free: 2.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00604, allocations: 3.938 kB / 296.2 MB, free: 2.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.006056, allocations: 0 / 296.2 MB, free: 2.746 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004938/0.006549, allocations: 337 kB / 296.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.006581, allocations: 12.03 kB / 296.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.006619, allocations: 16.92 kB / 296.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.006791, allocations: 142.5 kB / 296.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.006807, allocations: 4.375 kB / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.006825, allocations: 4.375 kB / 296.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.00694, allocations: 61.77 kB / 296.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.006952, allocations: 7.922 kB / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.006959, allocations: 0 / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.006964, allocations: 0 / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.442e-05/0.006998, allocations: 15.98 kB / 296.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.007227, allocations: 169.8 kB / 296.9 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.007336, allocations: 89.27 kB / 297 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/0.007364, allocations: 20.92 kB / 297 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.007375, allocations: 0 / 297 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.007487, allocations: 66.11 kB / 297.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.007488, allocations: 0 / 297.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003239/0.007812, allocations: 105.6 kB / 297.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.007846, allocations: 51.41 kB / 297.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.007984, allocations: 188.8 kB / 297.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.008001, allocations: 33.7 kB / 297.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.008039, allocations: 96.09 kB / 297.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.008068, allocations: 23.75 kB / 297.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.008109, allocations: 33.58 kB / 297.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.982e-05/0.008209, allocations: 330.8 kB / 297.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.00823, allocations: 6.828 kB / 297.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.181e-05/0.008262, allocations: 25.7 kB / 298 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.179e-05/0.008313, allocations: 36.52 kB / 298 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.008315, allocations: 4 kB / 298 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.893e-05/0.008414, allocations: 80.42 kB / 298.1 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.008428, allocations: 8 kB / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.008432, allocations: 0 / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.008441, allocations: 0 / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.542e-05/0.008527, allocations: 23.92 kB / 298.1 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.00853, allocations: 0 / 298.1 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.861e-05/0.008569, allocations: 8 kB / 298.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.008574, allocations: 0 / 298.1 MB, free: 0.6055 MB / 282.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 (10): * Single equations (assignments): 10 * 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 7.513e-05/0.008649, allocations: 117.7 kB / 298.2 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.008669, allocations: 15.95 kB / 298.3 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.008805, allocations: 79.06 kB / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.008808, allocations: 0 / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.008809, allocations: 0 / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.008813, allocations: 0 / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.009081, allocations: 295.4 kB / 298.6 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.009082, allocations: 0 / 298.6 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.009126, allocations: 12 kB / 298.6 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.009143, allocations: 15.89 kB / 298.7 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.009146, allocations: 0 / 298.7 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.009153, allocations: 4.406 kB / 298.7 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.009156, allocations: 4 kB / 298.7 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.009158, allocations: 0 / 298.7 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.009315, allocations: 223 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.009337, allocations: 7.984 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.009404, allocations: 4 kB / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.00943, allocations: 7.984 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.009443, allocations: 4 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.923e-05/0.009502, allocations: 51.64 kB / 298.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009502, allocations: 0 / 298.9 MB, free: 15.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.009735, allocations: 27.94 kB / 299 MB, free: 15.69 MB / 298.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 (9): * Single equations (assignments): 7 * 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.001886/0.01162, allocations: 0.646 MB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.01173, allocations: 44.77 kB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.01174, allocations: 7.984 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.905e-05/0.01178, allocations: 20.8 kB / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.01202, allocations: 44.23 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.01249, allocations: 235.7 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.603e-05/0.01254, allocations: 71.33 kB / 300 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.165e-05/0.01258, allocations: 21.03 kB / 300.1 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.01265, allocations: 71.36 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01265, allocations: 0 / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of Templates: time 0.00389/0.01654, allocations: 2.038 MB / 302.2 MB, free: 12.82 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.0492199938744307]