Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001329/0.001329, allocations: 82.52 kB / 20.68 MB, free: 1.023 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.001361/0.001361, allocations: 163.4 kB / 23.95 MB, free: 4.156 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.559/1.559, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.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.2078/0.2078, allocations: 34.29 MB / 295 MB, free: 14.55 MB / 286.1 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 442.8 MB, free: 5.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.252e-05/4.482e-05, allocations: 6.219 kB / 442.8 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003177/0.003222, allocations: 1.731 MB / 444.5 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.005088, allocations: 0.9664 MB / 445.5 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.949e-05/0.005168, allocations: 4 kB / 445.5 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.005467, allocations: 47.7 kB / 445.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.005791, allocations: 95.53 kB / 445.6 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.006017, allocations: 79.55 kB / 445.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.006218, allocations: 111.6 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.797e-05/0.006306, allocations: 4 kB / 445.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.006425, allocations: 59.77 kB / 445.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.681e-05/0.006512, allocations: 27.91 kB / 445.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.006533, allocations: 8 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.806e-05/0.006631, allocations: 39.98 kB / 445.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.006693, allocations: 19.92 kB / 445.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.056e-05/0.006744, allocations: 27.86 kB / 446 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.006974, allocations: 123.5 kB / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.006978, allocations: 0 / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006979, allocations: 0 / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.006984, allocations: 0 / 446.1 MB, free: 1.938 MB / 366.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.0006029/0.007587, allocations: 349.5 kB / 446.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.007621, allocations: 8.031 kB / 446.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.007672, allocations: 16.89 kB / 446.5 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.00792, allocations: 161.5 kB / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.007936, allocations: 384 / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.00796, allocations: 4.375 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.008131, allocations: 54.23 kB / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.008146, allocations: 3.938 kB / 446.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.00816, allocations: 3.984 kB / 446.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.008164, allocations: 0 / 446.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.139e-05/0.008255, allocations: 27.92 kB / 446.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.00862, allocations: 228.6 kB / 446.9 MB, free: 1.008 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.008813, allocations: 58.67 kB / 447 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.449e-05/0.008878, allocations: 20.8 kB / 447 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.008895, allocations: 0 / 447 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.009059, allocations: 79.25 kB / 447.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.009061, allocations: 0 / 447.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006042/0.009665, allocations: 189.5 kB / 447.3 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.009719, allocations: 55.41 kB / 447.3 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.009941, allocations: 211 kB / 447.5 MB, free: 364 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.009963, allocations: 29.7 kB / 447.6 MB, free: 328 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.01005, allocations: 112.1 kB / 447.7 MB, free: 212 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.01008, allocations: 27.78 kB / 447.7 MB, free: 184 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.01012, allocations: 17.72 kB / 447.7 MB, free: 160 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1813/0.1914, allocations: 322.8 kB / 448 MB, free: 19.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.1915, allocations: 23.2 kB / 448.1 MB, free: 19.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.722e-05/0.1916, allocations: 36.27 kB / 448.1 MB, free: 19.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.1918, allocations: 63.89 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1918, allocations: 0 / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000244/0.192, allocations: 108.7 kB / 448.3 MB, free: 18.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.192, allocations: 6.094 kB / 448.3 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.192, allocations: 2.812 kB / 448.3 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.192, allocations: 1.156 kB / 448.3 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.1922, allocations: 19.53 kB / 448.3 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1922, allocations: 1.125 kB / 448.3 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.274e-05/0.1922, allocations: 6.938 kB / 448.3 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1922, allocations: 3.219 kB / 448.3 MB, free: 18.96 MB / 366.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 (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.0001175/0.1924, allocations: 131.1 kB / 448.4 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.1924, allocations: 10.02 kB / 448.4 MB, free: 18.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002987/0.1927, allocations: 120.1 kB / 448.6 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1927, allocations: 3.109 kB / 448.6 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.1927, allocations: 3.938 kB / 448.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1927, allocations: 2.516 kB / 448.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004423/0.1931, allocations: 353.1 kB / 448.9 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1931, allocations: 0.9688 kB / 448.9 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.1932, allocations: 14.8 kB / 448.9 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1932, allocations: 4.719 kB / 448.9 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1932, allocations: 5.859 kB / 448.9 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1932, allocations: 1.125 kB / 448.9 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1932, allocations: 1 kB / 448.9 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.1934, allocations: 216.3 kB / 449.1 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.1934, allocations: 15.08 kB / 449.2 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.1935, allocations: 6.203 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.1935, allocations: 3.734 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.1936, allocations: 7.953 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1936, allocations: 8.156 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.1937, allocations: 158 kB / 449.3 MB, free: 18.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1937, allocations: 1.156 kB / 449.3 MB, free: 18.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.194, allocations: 25.81 kB / 449.4 MB, free: 18.34 MB / 366.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 (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.001879/0.1959, allocations: 0.4886 MB / 449.9 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.1961, allocations: 61.77 kB / 449.9 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1961, allocations: 0 / 449.9 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.739e-05/0.1961, allocations: 34.92 kB / 450 MB, free: 18.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.1965, allocations: 34.75 kB / 450 MB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004873/0.197, allocations: 253.2 kB / 450.2 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.491e-05/0.1971, allocations: 91.97 kB / 450.3 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.107e-05/0.1971, allocations: 20.39 kB / 450.3 MB, free: 17.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.1972, allocations: 16.94 kB / 450.4 MB, free: 17.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1972, allocations: 1.25 kB / 450.4 MB, free: 17.91 MB / 366.1 MB Notification: Performance of Templates: time 0.005581/0.2027, allocations: 1.853 MB / 452.2 MB, free: 17.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.034912295639515]