Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.001861/0.001861, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.002282/0.002282, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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 1.51/1.51, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.2344/0.2344, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 347 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.819e-05/4.034e-05, allocations: 2.312 kB / 347 MB, free: 9.742 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002971/0.003011, allocations: 1.689 MB / 348.7 MB, free: 8.043 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.00422, allocations: 0.7726 MB / 349.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.904e-05/0.004299, allocations: 0 / 349.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004072/0.004707, allocations: 35.77 kB / 349.5 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.004937, allocations: 63.62 kB / 349.6 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.00516, allocations: 83.72 kB / 349.6 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.005313, allocations: 103.7 kB / 349.7 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.592e-05/0.005399, allocations: 4.234 kB / 349.8 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.962e-05/0.005488, allocations: 55.77 kB / 349.8 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.424e-05/0.005583, allocations: 23.91 kB / 349.8 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.005605, allocations: 4 kB / 349.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.969e-05/0.005695, allocations: 43.92 kB / 349.9 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.822e-05/0.005753, allocations: 23.91 kB / 349.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.005803, allocations: 15.94 kB / 349.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.005994, allocations: 107.6 kB / 350 MB, free: 6.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.005997, allocations: 4 kB / 350 MB, free: 6.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.005998, allocations: 0 / 350 MB, free: 6.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.006002, allocations: 0 / 350 MB, free: 6.703 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.0005383/0.006541, allocations: 341.5 kB / 350.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.006585, allocations: 8.031 kB / 350.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.006655, allocations: 16.84 kB / 350.4 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.006912, allocations: 151.2 kB / 350.5 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.006927, allocations: 384 / 350.5 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.006953, allocations: 4.375 kB / 350.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.007098, allocations: 54.23 kB / 350.6 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.007112, allocations: 7.938 kB / 350.6 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.007123, allocations: 0 / 350.6 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.007128, allocations: 0 / 350.6 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.193e-05/0.0072, allocations: 23.92 kB / 350.6 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.007554, allocations: 236.5 kB / 350.9 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.007724, allocations: 54.67 kB / 350.9 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.007782, allocations: 24.78 kB / 350.9 MB, free: 5.699 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.007802, allocations: 3.938 kB / 350.9 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.007955, allocations: 71.39 kB / 351 MB, free: 5.613 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.007956, allocations: 0 / 351 MB, free: 5.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005831/0.008539, allocations: 177.4 kB / 351.2 MB, free: 5.434 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.008571, allocations: 51.41 kB / 351.2 MB, free: 5.371 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.008697, allocations: 182.2 kB / 351.4 MB, free: 5.184 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.008711, allocations: 29.7 kB / 351.4 MB, free: 5.148 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.008754, allocations: 100.1 kB / 351.5 MB, free: 5.047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.008784, allocations: 27.78 kB / 351.6 MB, free: 5.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.00882, allocations: 21.72 kB / 351.6 MB, free: 4.992 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.682e-05/0.008897, allocations: 318.8 kB / 351.9 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.294e-05/0.00896, allocations: 27.98 kB / 351.9 MB, free: 4.645 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.406e-05/0.009024, allocations: 37.7 kB / 352 MB, free: 4.602 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.009135, allocations: 69.58 kB / 352 MB, free: 4.527 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.009136, allocations: 0 / 352 MB, free: 4.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001661/0.009302, allocations: 109.5 kB / 352.1 MB, free: 4.414 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.009318, allocations: 4 kB / 352.1 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.009325, allocations: 0 / 352.1 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.009348, allocations: 4 kB / 352.1 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.00945, allocations: 19.97 kB / 352.2 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.009456, allocations: 0 / 352.2 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.009503, allocations: 7.984 kB / 352.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.009513, allocations: 8.375 kB / 352.2 MB, free: 4.371 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.847e-05/0.009592, allocations: 121.8 kB / 352.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.009617, allocations: 19.83 kB / 352.3 MB, free: 4.223 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.009845, allocations: 118.6 kB / 352.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.009849, allocations: 7.984 kB / 352.4 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.009856, allocations: 4 kB / 352.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.009862, allocations: 0 / 352.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.01019, allocations: 346.9 kB / 352.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01019, allocations: 0 / 352.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/0.01023, allocations: 11.94 kB / 352.8 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01023, allocations: 3.984 kB / 352.8 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.01024, allocations: 8 kB / 352.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.01024, allocations: 0 / 352.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01024, allocations: 0 / 352.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.01044, allocations: 220.2 kB / 353 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.01045, allocations: 3.953 kB / 353 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.01048, allocations: 12.02 kB / 353 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.01055, allocations: 4 kB / 353 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.01059, allocations: 7.984 kB / 353 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.0106, allocations: 4 kB / 353 MB, free: 3.422 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.891e-05/0.01068, allocations: 139.2 kB / 353.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01068, allocations: 0 / 353.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.01094, allocations: 27.92 kB / 353.2 MB, free: 3.258 MB / 282.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.002149/0.01309, allocations: 0.4899 MB / 353.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.01327, allocations: 59.91 kB / 353.8 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01327, allocations: 0 / 353.8 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.992e-05/0.01334, allocations: 31.92 kB / 353.8 MB, free: 2.785 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.01369, allocations: 31.89 kB / 353.8 MB, free: 2.754 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.01407, allocations: 229.1 kB / 354 MB, free: 2.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.468e-05/0.01415, allocations: 85.44 kB / 354.1 MB, free: 2.395 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.328e-05/0.01419, allocations: 16.8 kB / 354.1 MB, free: 2.379 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.01422, allocations: 20.48 kB / 354.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01423, allocations: 4 kB / 354.2 MB, free: 2.355 MB / 282.7 MB Notification: Performance of Templates: time 0.004624/0.01885, allocations: 1.821 MB / 356 MB, free: 0.5508 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.120767393964343]