Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.002403/0.002403, allocations: 96.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.003176/0.003176, allocations: 169.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.784/1.784, allocations: 158.6 MB / 185.3 MB, free: 2.914 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.2505/0.2505, 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.779e-05/4.024e-05, allocations: 2.312 kB / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.00323/0.00327, allocations: 1.711 MB / 348.7 MB, free: 8.012 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.004684, allocations: 0.7766 MB / 349.5 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.591e-05/0.00477, allocations: 3.938 kB / 349.5 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004318/0.005202, allocations: 59.75 kB / 349.6 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.005466, allocations: 59.69 kB / 349.6 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.005703, allocations: 83.64 kB / 349.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001791/0.005882, allocations: 103.7 kB / 349.8 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.005997, allocations: 4.234 kB / 349.8 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.006106, allocations: 55.78 kB / 349.9 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.063e-05/0.006197, allocations: 27.89 kB / 349.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.006226, allocations: 8 kB / 349.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.074e-05/0.006317, allocations: 43.92 kB / 349.9 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.006393, allocations: 27.92 kB / 350 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.006451, allocations: 23.86 kB / 350 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.006679, allocations: 123.6 kB / 350.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.006682, allocations: 0 / 350.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.006683, allocations: 0 / 350.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.00669, allocations: 0 / 350.1 MB, free: 6.613 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.000622/0.007312, allocations: 483.2 kB / 350.6 MB, free: 6.105 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.007367, allocations: 8.031 kB / 350.6 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.802e-05/0.007436, allocations: 20.83 kB / 350.6 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.007669, allocations: 164.4 kB / 350.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.007686, allocations: 384 / 350.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.007711, allocations: 4.375 kB / 350.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.00786, allocations: 54.23 kB / 350.8 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.007876, allocations: 3.938 kB / 350.8 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.007887, allocations: 0 / 350.8 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.007893, allocations: 0 / 350.8 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.778e-05/0.007971, allocations: 23.92 kB / 350.9 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.008373, allocations: 307.8 kB / 351.2 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.008539, allocations: 59.17 kB / 351.2 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.008589, allocations: 31.61 kB / 351.2 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.008612, allocations: 0 / 351.2 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.008751, allocations: 76.98 kB / 351.3 MB, free: 5.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.008753, allocations: 0 / 351.3 MB, free: 5.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005761/0.009329, allocations: 181.3 kB / 351.5 MB, free: 5.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.009361, allocations: 51.41 kB / 351.5 MB, free: 5.023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.009552, allocations: 297.3 kB / 351.8 MB, free: 4.715 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.009565, allocations: 25.7 kB / 351.9 MB, free: 4.684 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.214e-05/0.009637, allocations: 170.9 kB / 352 MB, free: 4.512 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.009667, allocations: 23.84 kB / 352.1 MB, free: 4.488 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.00971, allocations: 39.36 kB / 352.1 MB, free: 4.441 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.009832, allocations: 0.5079 MB / 352.6 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-05/0.00988, allocations: 19.98 kB / 352.6 MB, free: 3.902 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.551e-05/0.009936, allocations: 39.36 kB / 352.7 MB, free: 3.855 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.307e-05/0.01003, allocations: 71.19 kB / 352.7 MB, free: 3.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01003, allocations: 0 / 352.7 MB, free: 3.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001483/0.01018, allocations: 109.5 kB / 352.8 MB, free: 3.664 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.0102, allocations: 8 kB / 352.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01021, allocations: 0 / 352.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.01023, allocations: 4.031 kB / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.01031, allocations: 12.38 kB / 352.9 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.01032, allocations: 7.984 kB / 352.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.405e-05/0.01037, allocations: 8 kB / 352.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.01038, allocations: 4 kB / 352.9 MB, free: 3.621 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 9.636e-05/0.01047, allocations: 173.4 kB / 353 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.0105, allocations: 15.91 kB / 353.1 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.01073, allocations: 123.2 kB / 353.2 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.01073, allocations: 4 kB / 353.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.01073, allocations: 0 / 353.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.01074, allocations: 7.984 kB / 353.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.0111, allocations: 429 kB / 353.6 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.01111, allocations: 0 / 353.6 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.143e-05/0.01115, allocations: 15.92 kB / 353.6 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01115, allocations: 0 / 353.6 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.01116, allocations: 4 kB / 353.6 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01116, allocations: 0 / 353.6 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01116, allocations: 0 / 353.6 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.01136, allocations: 279.3 kB / 353.9 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/0.01138, allocations: 7.953 kB / 353.9 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.01141, allocations: 8.016 kB / 353.9 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.388e-05/0.01147, allocations: 8 kB / 353.9 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.01152, allocations: 7.984 kB / 353.9 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.01154, allocations: 4 kB / 353.9 MB, free: 2.469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001/0.01164, allocations: 204.3 kB / 354.1 MB, free: 2.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01164, allocations: 0 / 354.1 MB, free: 2.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002383/0.01187, allocations: 20 kB / 354.2 MB, free: 2.25 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.003166/0.01504, allocations: 498.7 kB / 354.6 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.01524, allocations: 67.59 kB / 354.7 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01524, allocations: 0 / 354.7 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.037e-05/0.01531, allocations: 43.61 kB / 354.8 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.01569, allocations: 44.78 kB / 354.8 MB, free: 1.711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.01619, allocations: 269.8 kB / 355.1 MB, free: 1.418 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.064e-05/0.01627, allocations: 93.77 kB / 355.2 MB, free: 1.305 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.449e-05/0.01631, allocations: 20.8 kB / 355.2 MB, free: 1.281 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.01635, allocations: 16.48 kB / 355.2 MB, free: 1.266 MB / 282.7 MB Notification: Performance of SimCode: time 9.71e-07/0.01635, allocations: 4 kB / 355.2 MB, free: 1.262 MB / 282.7 MB Notification: Performance of Templates: time 0.006337/0.02269, allocations: 1.852 MB / 357 MB, free: 15.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.963497783988714]