Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.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.0008275/0.0008275, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0008283/0.0008283, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8064/0.8064, allocations: 158.6 MB / 185.7 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1228/0.1228, allocations: 32.38 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 408.1 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.76e-05, allocations: 5.656 kB / 408.1 MB, free: 13 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.001725/0.001742, allocations: 1.561 MB / 409.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004211/0.002164, allocations: 323.4 kB / 410 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.002207, allocations: 0 / 410 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.00243, allocations: 71.78 kB / 410.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.00257, allocations: 67.67 kB / 410.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.002739, allocations: 83.77 kB / 410.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.002855, allocations: 71.81 kB / 410.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.1e-05/0.002936, allocations: 7.984 kB / 410.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.352e-05/0.002989, allocations: 43.83 kB / 410.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.594e-05/0.003065, allocations: 43.89 kB / 410.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.00308, allocations: 8 kB / 410.4 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.422e-05/0.003134, allocations: 27.94 kB / 410.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.003177, allocations: 23.91 kB / 410.4 MB, free: 10.67 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.003203, allocations: 7.938 kB / 410.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.003328, allocations: 87.7 kB / 410.5 MB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.00333, allocations: 0 / 410.5 MB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.003331, allocations: 3.938 kB / 410.5 MB, free: 10.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.003334, allocations: 0 / 410.5 MB, free: 10.57 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003117/0.003646, allocations: 317.8 kB / 410.8 MB, free: 10.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.003674, allocations: 8.031 kB / 410.8 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.003702, allocations: 8.891 kB / 410.9 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.003821, allocations: 145.5 kB / 411 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.003829, allocations: 384 / 411 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.003848, allocations: 8.375 kB / 411 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.192e-05/0.00394, allocations: 50.23 kB / 411.1 MB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.003949, allocations: 4.125 kB / 411.1 MB, free: 9.984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.003957, allocations: 4.125 kB / 411.1 MB, free: 9.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.00396, allocations: 0 / 411.1 MB, free: 9.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.404e-05/0.004014, allocations: 19.98 kB / 411.1 MB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.004245, allocations: 232.5 kB / 411.3 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.004386, allocations: 42.56 kB / 411.4 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.944e-05/0.004416, allocations: 24.94 kB / 411.4 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.004434, allocations: 3.938 kB / 411.4 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.004447, allocations: 30.56 kB / 411.4 MB, free: 9.582 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.004448, allocations: 0 / 411.4 MB, free: 9.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003335/0.004781, allocations: 153.4 kB / 411.6 MB, free: 9.426 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.004809, allocations: 59.39 kB / 411.6 MB, free: 9.355 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.004919, allocations: 186.3 kB / 411.8 MB, free: 9.164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.004929, allocations: 25.7 kB / 411.8 MB, free: 9.133 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.004968, allocations: 104.1 kB / 411.9 MB, free: 9.027 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.004986, allocations: 19.8 kB / 411.9 MB, free: 9.008 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.005012, allocations: 21.7 kB / 412 MB, free: 8.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.364e-05/0.005086, allocations: 318.8 kB / 412.3 MB, free: 8.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.384e-05/0.00513, allocations: 23.97 kB / 412.3 MB, free: 8.637 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.003e-05/0.00516, allocations: 19.98 kB / 412.3 MB, free: 8.617 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.916e-05/0.005229, allocations: 56.77 kB / 412.4 MB, free: 8.559 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.005229, allocations: 192 / 412.4 MB, free: 8.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.545e-05/0.005325, allocations: 93.56 kB / 412.5 MB, free: 8.461 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.005336, allocations: 7.984 kB / 412.5 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.005339, allocations: 0 / 412.5 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.00535, allocations: 4 kB / 412.5 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.272e-05/0.005383, allocations: 8 kB / 412.5 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.005386, allocations: 0 / 412.5 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.828e-05/0.005404, allocations: 11.98 kB / 412.5 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.005408, allocations: 0 / 412.5 MB, free: 8.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.887e-05/0.005467, allocations: 129.8 kB / 412.6 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.005483, allocations: 15.89 kB / 412.6 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.005609, allocations: 98.08 kB / 412.7 MB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.00561, allocations: 3.938 kB / 412.7 MB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.005613, allocations: 0 / 412.7 MB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.005615, allocations: 3.938 kB / 412.7 MB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.005841, allocations: 306.1 kB / 413 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.005842, allocations: 0 / 413 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.005865, allocations: 11.98 kB / 413.1 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.005867, allocations: 0 / 413.1 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.005874, allocations: 8 kB / 413.1 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.005875, allocations: 0 / 413.1 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005876, allocations: 0 / 413.1 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.005988, allocations: 187.6 kB / 413.2 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.005997, allocations: 8.234 kB / 413.3 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.006006, allocations: 4 kB / 413.3 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.127e-05/0.006037, allocations: 7.938 kB / 413.3 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.21e-05/0.006069, allocations: 7.969 kB / 413.3 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.006073, allocations: 8 kB / 413.3 MB, free: 7.574 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.03e-05/0.006144, allocations: 151.8 kB / 413.4 MB, free: 7.426 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006144, allocations: 0 / 413.4 MB, free: 7.426 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000149/0.006293, allocations: 15.94 kB / 413.4 MB, free: 7.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0005811/0.006874, allocations: 421.9 kB / 413.9 MB, free: 7.043 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.006985, allocations: 55.91 kB / 413.9 MB, free: 6.988 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.006986, allocations: 0 / 413.9 MB, free: 6.988 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.471e-05/0.007021, allocations: 31.91 kB / 413.9 MB, free: 6.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.007258, allocations: 19.88 kB / 414 MB, free: 6.938 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.007566, allocations: 239 kB / 414.2 MB, free: 6.672 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.203e-05/0.007618, allocations: 91.17 kB / 414.3 MB, free: 6.562 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.007643, allocations: 12.5 kB / 414.3 MB, free: 6.551 MB / 346.7 MB Notification: Performance of SimCode: time 7.12e-07/0.007644, allocations: 4 kB / 414.3 MB, free: 6.547 MB / 346.7 MB Notification: Performance of Templates: time 0.001986/0.00963, allocations: 1.528 MB / 415.8 MB, free: 5.02 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.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: 4.192631403915584]