Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001543/0.002646, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001622/0.002754, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9883/0.9883, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1648/1.153, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.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.1446/0.1446, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02329/0.1678, allocations: 12.53 MB / 284.5 MB, free: 9.719 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 286 MB, free: 8.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.022e-05, allocations: 2.312 kB / 286 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002653/0.002673, allocations: 1.827 MB / 287.8 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004275/0.006948, allocations: 0.8882 MB / 288.7 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.66e-05/0.007025, allocations: 0 / 288.7 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.007294, allocations: 99.55 kB / 288.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.007497, allocations: 95.56 kB / 288.9 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.007801, allocations: 119.5 kB / 289 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.008001, allocations: 131.6 kB / 289.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.431e-05/0.008096, allocations: 12 kB / 289.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.008253, allocations: 103.7 kB / 289.2 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.008372, allocations: 59.86 kB / 289.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.008393, allocations: 8 kB / 289.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.008518, allocations: 63.84 kB / 289.3 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.008573, allocations: 23.94 kB / 289.4 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.008611, allocations: 23.88 kB / 289.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003242/0.01185, allocations: 127.5 kB / 289.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.01187, allocations: 0 / 289.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.01187, allocations: 0 / 289.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.01188, allocations: 4 kB / 289.5 MB, free: 4.719 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005186/0.0124, allocations: 375.5 kB / 289.9 MB, free: 4.328 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.01243, allocations: 8.031 kB / 289.9 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.01247, allocations: 12.92 kB / 289.9 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.01266, allocations: 157.5 kB / 290.1 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.01267, allocations: 4.375 kB / 290.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.0127, allocations: 4.375 kB / 290.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.01283, allocations: 81.69 kB / 290.1 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.01285, allocations: 7.922 kB / 290.2 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.01285, allocations: 0 / 290.2 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.01286, allocations: 4 kB / 290.2 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.29e-05/0.0129, allocations: 19.92 kB / 290.2 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.01317, allocations: 189.9 kB / 290.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.01334, allocations: 101.3 kB / 290.5 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/0.01336, allocations: 12.86 kB / 290.5 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.01338, allocations: 7.875 kB / 290.5 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.01349, allocations: 78.34 kB / 290.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.01349, allocations: 0 / 290.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005363/0.01403, allocations: 214.1 kB / 290.8 MB, free: 3.359 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.01405, allocations: 55.41 kB / 290.8 MB, free: 3.293 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.0142, allocations: 200 kB / 291 MB, free: 3.082 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.01422, allocations: 33.7 kB / 291.1 MB, free: 3.043 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.01426, allocations: 100.1 kB / 291.2 MB, free: 2.941 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.0143, allocations: 47.56 kB / 291.2 MB, free: 2.895 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.01435, allocations: 37.69 kB / 291.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.023e-05/0.01444, allocations: 330.7 kB / 291.6 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.164e-05/0.01447, allocations: 18.92 kB / 291.6 MB, free: 2.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.041e-05/0.01451, allocations: 37.62 kB / 291.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.408e-05/0.01459, allocations: 60.45 kB / 291.7 MB, free: 2.391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.01459, allocations: 0 / 291.7 MB, free: 2.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001355/0.01472, allocations: 96.42 kB / 291.8 MB, free: 2.289 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.01474, allocations: 4 kB / 291.8 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.01474, allocations: 0 / 291.8 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.01475, allocations: 0 / 291.8 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.941e-05/0.01484, allocations: 27.98 kB / 291.8 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.01485, allocations: 4 kB / 291.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.483e-05/0.01488, allocations: 0 / 291.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.01489, allocations: 12.03 kB / 291.8 MB, free: 2.242 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 (16): * Single equations (assignments): 16 * 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.337e-05/0.01497, allocations: 135.3 kB / 291.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.01499, allocations: 11.98 kB / 292 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.01516, allocations: 107 kB / 292.1 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.01517, allocations: 4 kB / 292.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01517, allocations: 0 / 292.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.01517, allocations: 0 / 292.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.01552, allocations: 363.5 kB / 292.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01552, allocations: 4.062 kB / 292.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.01559, allocations: 23.98 kB / 292.4 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.01561, allocations: 23.88 kB / 292.5 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01561, allocations: 4 kB / 292.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.01562, allocations: 11.98 kB / 292.5 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.01563, allocations: 3.938 kB / 292.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01563, allocations: 0 / 292.5 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.01578, allocations: 239.9 kB / 292.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.0158, allocations: 4 kB / 292.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.01587, allocations: 15.92 kB / 292.7 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.0159, allocations: 11.98 kB / 292.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.01592, allocations: 8 kB / 292.8 MB, free: 1.227 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.126e-05/0.01599, allocations: 77.23 kB / 292.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01599, allocations: 0 / 292.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.01621, allocations: 31.94 kB / 292.9 MB, free: 1.117 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001785/0.018, allocations: 0.7256 MB / 293.6 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.01814, allocations: 68.78 kB / 293.7 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.01815, allocations: 4 kB / 293.7 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.74e-05/0.01821, allocations: 56.7 kB / 293.7 MB, free: 0.625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.01852, allocations: 180.4 kB / 293.9 MB, free: 428 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005798/0.0191, allocations: 307.6 kB / 294.2 MB, free: 88 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.539e-05/0.01916, allocations: 75.83 kB / 294.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.105e-05/0.01922, allocations: 29.75 kB / 294.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.01934, allocations: 71.36 kB / 294.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01934, allocations: 0 / 294.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of Templates: time 0.004947/0.02429, allocations: 2.569 MB / 296.9 MB, free: 13.37 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.872065022587776]