Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.002121/0.002121, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002337/0.002337, allocations: 165.2 kB / 23.53 MB, free: 0.8984 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.736/1.736, allocations: 158.6 MB / 185.3 MB, free: 2.898 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.2785/0.2785, allocations: 32.38 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.114e-05/4.381e-05, allocations: 2.312 kB / 347 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.004291/0.004335, allocations: 1.711 MB / 348.7 MB, free: 8 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.006076, allocations: 0.7805 MB / 349.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.006247, allocations: 3.938 kB / 349.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.006833, allocations: 55.75 kB / 349.6 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004124/0.007245, allocations: 63.69 kB / 349.6 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.007659, allocations: 79.7 kB / 349.7 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.007912, allocations: 103.6 kB / 349.8 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.008047, allocations: 4.234 kB / 349.8 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.00818, allocations: 55.77 kB / 349.9 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.008294, allocations: 27.91 kB / 349.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.008326, allocations: 4 kB / 349.9 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.008457, allocations: 47.92 kB / 349.9 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.821e-05/0.008546, allocations: 27.91 kB / 350 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.008609, allocations: 23.88 kB / 350 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.0089, allocations: 119.6 kB / 350.1 MB, free: 6.605 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.008908, allocations: 4 kB / 350.1 MB, free: 6.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.00891, allocations: 0 / 350.1 MB, free: 6.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.008919, allocations: 0 / 350.1 MB, free: 6.602 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.0007431/0.009662, allocations: 487.2 kB / 350.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.009714, allocations: 8.031 kB / 350.6 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.738e-05/0.009791, allocations: 16.84 kB / 350.6 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.01008, allocations: 160.4 kB / 350.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.0101, allocations: 4.375 kB / 350.8 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.01013, allocations: 384 / 350.8 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.0103, allocations: 58.23 kB / 350.8 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.01033, allocations: 3.938 kB / 350.8 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.01034, allocations: 0 / 350.8 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.01035, allocations: 0 / 350.8 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.626e-05/0.01043, allocations: 19.92 kB / 350.9 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.0109, allocations: 307.8 kB / 351.2 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.01109, allocations: 67.16 kB / 351.2 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.01114, allocations: 27.62 kB / 351.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.01117, allocations: 0 / 351.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.01134, allocations: 76.98 kB / 351.3 MB, free: 5.258 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.01134, allocations: 0 / 351.3 MB, free: 5.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000635/0.01198, allocations: 185.3 kB / 351.5 MB, free: 5.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.01201, allocations: 51.41 kB / 351.6 MB, free: 5.008 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.01223, allocations: 297.3 kB / 351.8 MB, free: 4.699 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.01224, allocations: 25.7 kB / 351.9 MB, free: 4.668 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.01232, allocations: 170.9 kB / 352 MB, free: 4.496 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.01236, allocations: 23.84 kB / 352.1 MB, free: 4.473 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.0124, allocations: 35.38 kB / 352.1 MB, free: 4.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.01251, allocations: 0.504 MB / 352.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-05/0.01256, allocations: 19.98 kB / 352.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.736e-05/0.01262, allocations: 43.36 kB / 352.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.785e-05/0.01272, allocations: 71.23 kB / 352.7 MB, free: 3.766 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.01272, allocations: 3.938 kB / 352.7 MB, free: 3.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001608/0.01288, allocations: 105.5 kB / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.01289, allocations: 4 kB / 352.8 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.0129, allocations: 4 kB / 352.8 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.01293, allocations: 4.031 kB / 352.9 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.892e-05/0.01303, allocations: 16.36 kB / 352.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.01303, allocations: 0 / 352.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.01308, allocations: 12 kB / 352.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.01309, allocations: 4 kB / 352.9 MB, free: 3.609 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.000101/0.01319, allocations: 169.4 kB / 353.1 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.01322, allocations: 19.89 kB / 353.1 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.01347, allocations: 123.2 kB / 353.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.01347, allocations: 4 kB / 353.2 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.01348, allocations: 0 / 353.2 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.01349, allocations: 4 kB / 353.2 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000389/0.01387, allocations: 429 kB / 353.6 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01388, allocations: 0 / 353.6 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.01391, allocations: 15.94 kB / 353.6 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01392, allocations: 3.984 kB / 353.6 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.01393, allocations: 0 / 353.6 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.01393, allocations: 4 kB / 353.6 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01393, allocations: 0 / 353.6 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.01414, allocations: 279.3 kB / 353.9 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.01416, allocations: 11.94 kB / 353.9 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.01419, allocations: 32 / 353.9 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.561e-05/0.01426, allocations: 12 kB / 353.9 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.01432, allocations: 3.984 kB / 353.9 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.01434, allocations: 4 kB / 353.9 MB, free: 2.461 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.01446, allocations: 208.3 kB / 354.1 MB, free: 2.258 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01446, allocations: 0 / 354.1 MB, free: 2.258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002529/0.01472, allocations: 20 kB / 354.2 MB, free: 2.238 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.003282/0.018, allocations: 0.4932 MB / 354.7 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.01822, allocations: 63.61 kB / 354.7 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.01822, allocations: 0 / 354.7 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.01831, allocations: 47.59 kB / 354.8 MB, free: 1.734 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.0187, allocations: 37.41 kB / 354.8 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006434/0.01935, allocations: 265.8 kB / 355.1 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.01945, allocations: 101.8 kB / 355.2 MB, free: 1.289 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.413e-05/0.0195, allocations: 20.78 kB / 355.2 MB, free: 1.266 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.01955, allocations: 16.5 kB / 355.2 MB, free: 1.25 MB / 282.7 MB Notification: Performance of SimCode: time 1.031e-06/0.01955, allocations: 0 / 355.2 MB, free: 1.25 MB / 282.7 MB Notification: Performance of Templates: time 0.005853/0.02541, allocations: 1.838 MB / 357 MB, free: 15.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.879618093022145]