Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.002312/0.002312, allocations: 96.97 kB / 20.21 MB, free: 4.207 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.003066/0.003066, 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.937/1.937, 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.2677/0.2677, allocations: 32.38 MB / 270 MB, free: 14.76 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.915e-06/2.915e-06, allocations: 0 / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.525e-05/4.817e-05, allocations: 2.312 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003464/0.003512, allocations: 1.716 MB / 348.7 MB, free: 8 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.004927, allocations: 0.7805 MB / 349.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.383e-05/0.005021, allocations: 0 / 349.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004571/0.005478, allocations: 55.7 kB / 349.6 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.005726, allocations: 59.69 kB / 349.6 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.005978, allocations: 79.7 kB / 349.7 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.006175, allocations: 107.6 kB / 349.8 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.006309, allocations: 4.234 kB / 349.8 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.006423, allocations: 51.84 kB / 349.9 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.718e-05/0.00652, allocations: 27.89 kB / 349.9 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.006551, allocations: 4 kB / 349.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.006657, allocations: 51.86 kB / 349.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.471e-05/0.006732, allocations: 19.92 kB / 350 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.006786, allocations: 19.92 kB / 350 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.007011, allocations: 119.6 kB / 350.1 MB, free: 6.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.007016, allocations: 0 / 350.1 MB, free: 6.621 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.007019, allocations: 3.984 kB / 350.1 MB, free: 6.617 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.007028, allocations: 0 / 350.1 MB, free: 6.617 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.0006466/0.007674, allocations: 459.5 kB / 350.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.007733, allocations: 12.03 kB / 350.6 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.553e-05/0.007809, allocations: 12.89 kB / 350.6 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.008058, allocations: 160.3 kB / 350.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.008076, allocations: 4.375 kB / 350.7 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.008103, allocations: 4.375 kB / 350.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.008268, allocations: 54.23 kB / 350.8 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.008284, allocations: 3.938 kB / 350.8 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.008298, allocations: 0 / 350.8 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.008303, allocations: 0 / 350.8 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.349e-05/0.008377, allocations: 19.92 kB / 350.8 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.008777, allocations: 311.7 kB / 351.1 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.008947, allocations: 59.17 kB / 351.2 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.009003, allocations: 31.61 kB / 351.2 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.009024, allocations: 0 / 351.2 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.009183, allocations: 73.05 kB / 351.3 MB, free: 5.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.009184, allocations: 0 / 351.3 MB, free: 5.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005641/0.009748, allocations: 177.3 kB / 351.5 MB, free: 5.125 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.009783, allocations: 59.34 kB / 351.5 MB, free: 5.055 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.009958, allocations: 257.9 kB / 351.8 MB, free: 4.785 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.009973, allocations: 29.7 kB / 351.8 MB, free: 4.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/0.01007, allocations: 166.9 kB / 352 MB, free: 4.582 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.01011, allocations: 23.8 kB / 352 MB, free: 4.559 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.01015, allocations: 31.36 kB / 352 MB, free: 4.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.01029, allocations: 0.5079 MB / 352.5 MB, free: 4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.252e-05/0.01035, allocations: 16 kB / 352.5 MB, free: 3.984 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.79e-05/0.0104, allocations: 43.36 kB / 352.6 MB, free: 3.934 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.959e-05/0.0105, allocations: 71.22 kB / 352.6 MB, free: 3.855 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.0105, allocations: 4 kB / 352.6 MB, free: 3.852 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001622/0.01067, allocations: 101.6 kB / 352.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.01069, allocations: 8 kB / 352.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.01069, allocations: 3.984 kB / 352.8 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.01071, allocations: 0 / 352.8 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.909e-05/0.01081, allocations: 24.34 kB / 352.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.01082, allocations: 0 / 352.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.01086, allocations: 11.98 kB / 352.8 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.01087, allocations: 4 kB / 352.8 MB, free: 3.695 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.0001043/0.01098, allocations: 164.5 kB / 353 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.01101, allocations: 15.91 kB / 353 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.01126, allocations: 123.2 kB / 353.1 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.01126, allocations: 0 / 353.1 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.01126, allocations: 0 / 353.1 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.01127, allocations: 4 kB / 353.1 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.01166, allocations: 425 kB / 353.5 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01166, allocations: 0 / 353.5 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.0117, allocations: 8 kB / 353.5 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.0117, allocations: 7.938 kB / 353.5 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.01171, allocations: 0 / 353.5 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01171, allocations: 0 / 353.5 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.01172, allocations: 4 kB / 353.5 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.01198, allocations: 275.4 kB / 353.8 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.012, allocations: 11.91 kB / 353.8 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.01203, allocations: 4 kB / 353.8 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.411e-05/0.01209, allocations: 8.031 kB / 353.8 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.01215, allocations: 11.92 kB / 353.8 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.01217, allocations: 4 kB / 353.8 MB, free: 2.562 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001254/0.0123, allocations: 195.1 kB / 354 MB, free: 2.371 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0123, allocations: 0 / 354 MB, free: 2.371 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002742/0.01257, allocations: 23.94 kB / 354.1 MB, free: 2.348 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.003563/0.01614, allocations: 497 kB / 354.5 MB, free: 1.969 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.01636, allocations: 67.59 kB / 354.6 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.01637, allocations: 3.938 kB / 354.6 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.591e-05/0.01644, allocations: 43.61 kB / 354.7 MB, free: 1.848 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.01686, allocations: 33.59 kB / 354.7 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005875/0.01744, allocations: 237.5 kB / 354.9 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.906e-05/0.01754, allocations: 100.9 kB / 355 MB, free: 1.434 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.218e-05/0.0176, allocations: 24.78 kB / 355 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.01764, allocations: 12.5 kB / 355.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01764, allocations: 4 kB / 355.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of Templates: time 0.006573/0.02421, allocations: 1.841 MB / 356.9 MB, free: 15.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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: 6.221557358978316]