Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.0009105/0.0009105, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001194/0.002105, 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.0009114/0.0009114, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.00228, 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.15/1.15, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09557/1.246, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.2791/0.2791, allocations: 34.24 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02965/0.3087, allocations: 13.1 MB / 291.3 MB, free: 7.375 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.217e-05/3.379e-05, allocations: 3.078 kB / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002625/0.002658, allocations: 1.821 MB / 294.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.004147, allocations: 1.014 MB / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.004271, allocations: 0 / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.00452, allocations: 43.7 kB / 295.6 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003693/0.004889, allocations: 95.48 kB / 295.7 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.005156, allocations: 79.59 kB / 295.8 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.005361, allocations: 107.7 kB / 295.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.005467, allocations: 11.92 kB / 295.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.005621, allocations: 79.81 kB / 296 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.431e-05/0.005705, allocations: 31.84 kB / 296 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.005722, allocations: 4 kB / 296 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.996e-05/0.005822, allocations: 43.92 kB / 296 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.005876, allocations: 19.92 kB / 296 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.005921, allocations: 19.94 kB / 296.1 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.006134, allocations: 99.61 kB / 296.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.757e-05/0.006151, allocations: 0 / 296.2 MB, free: 2.742 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.006152, allocations: 3.938 kB / 296.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.006172, allocations: 0 / 296.2 MB, free: 2.738 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.0006065/0.006778, allocations: 333 kB / 296.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.006818, allocations: 12.03 kB / 296.5 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.006864, allocations: 12.92 kB / 296.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.007073, allocations: 146.6 kB / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.007094, allocations: 384 / 296.7 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.007119, allocations: 12.38 kB / 296.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.00726, allocations: 61.7 kB / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.007269, allocations: 3.938 kB / 296.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.007276, allocations: 4 kB / 296.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.007282, allocations: 4 kB / 296.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.108e-05/0.007313, allocations: 7.984 kB / 296.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.007559, allocations: 169.9 kB / 296.9 MB, free: 1.914 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.007666, allocations: 81.3 kB / 297 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.587e-05/0.007692, allocations: 28.84 kB / 297 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.007707, allocations: 4 kB / 297 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001105/0.007817, allocations: 62.11 kB / 297.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.007819, allocations: 0 / 297.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003457/0.008165, allocations: 105.6 kB / 297.2 MB, free: 1.605 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.008199, allocations: 55.41 kB / 297.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.00832, allocations: 188.8 kB / 297.4 MB, free: 1.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.008336, allocations: 25.7 kB / 297.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.5e-05/0.008371, allocations: 96.11 kB / 297.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.008405, allocations: 31.73 kB / 297.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.008442, allocations: 25.66 kB / 297.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.008534, allocations: 330.8 kB / 297.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.008556, allocations: 10.83 kB / 297.9 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.743e-05/0.008583, allocations: 25.64 kB / 298 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/0.00863, allocations: 40.52 kB / 298 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.008632, allocations: 0 / 298 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.751e-05/0.008719, allocations: 80.42 kB / 298.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.008734, allocations: 4 kB / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.00874, allocations: 0 / 298.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.008753, allocations: 8.031 kB / 298.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.566e-05/0.008839, allocations: 15.98 kB / 298.1 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.008846, allocations: 4 kB / 298.1 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.9e-05/0.008885, allocations: 4 kB / 298.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.008894, allocations: 4 kB / 298.1 MB, free: 0.6016 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 0.0001059/0.009, allocations: 120.6 kB / 298.2 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.00902, allocations: 15.92 kB / 298.3 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.00917, allocations: 71.12 kB / 298.3 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.009175, allocations: 4 kB / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.009178, allocations: 0 / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.009183, allocations: 4 kB / 298.3 MB, free: 384 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.009488, allocations: 291.4 kB / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.009493, allocations: 0 / 298.6 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.009531, allocations: 11.94 kB / 298.6 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.009552, allocations: 15.89 kB / 298.6 MB, free: 36 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.009557, allocations: 4 kB / 298.7 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.009568, allocations: 4.375 kB / 298.7 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.00957, allocations: 0 / 298.7 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.009571, allocations: 0 / 298.7 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.009761, allocations: 227 kB / 298.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.009787, allocations: 8.016 kB / 298.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.996e-05/0.009837, allocations: 8 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.009873, allocations: 3.984 kB / 298.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.00989, allocations: 4 kB / 298.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.199e-05/0.009952, allocations: 51.64 kB / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009952, allocations: 0 / 299 MB, free: 15.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001848/0.01014, allocations: 27.94 kB / 299 MB, free: 15.68 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.001471/0.01161, allocations: 0.6349 MB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.01172, allocations: 48.7 kB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/0.01173, allocations: 3.984 kB / 299.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.01177, allocations: 28.94 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.0002065/0.01198, allocations: 55.02 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005555/0.01253, allocations: 235.7 kB / 300 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.669e-05/0.01258, allocations: 71.33 kB / 300 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.262e-05/0.01262, allocations: 12.97 kB / 300.1 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.098e-05/0.01269, allocations: 71.36 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01269, allocations: 0 / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of Templates: time 0.00406/0.01675, allocations: 2.031 MB / 302.2 MB, free: 12.83 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.224960288964212]