Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001134, allocations: 94.09 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001182, allocations: 180.4 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 223.2 MB / 242.3 MB, free: 240 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2366/0.2366, allocations: 44.25 MB / 337.7 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004486, allocations: 16 kB / 410.3 MB, free: 27.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1907, allocations: 61.92 MB / 472.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003174/0.1939, allocations: 1.507 MB / 473.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.196, allocations: 0.9279 MB / 474.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1961, allocations: 0 / 474.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007482/0.1968, allocations: 303.4 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.1973, allocations: 191.5 kB / 475.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.1979, allocations: 162.4 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003543/0.1982, allocations: 235.4 kB / 475.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.406e-05/0.1983, allocations: 9.562 kB / 475.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.1985, allocations: 115.6 kB / 475.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.1988, allocations: 183.5 kB / 475.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.1988, allocations: 4 kB / 475.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.199, allocations: 47.92 kB / 475.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.1992, allocations: 135.6 kB / 476.1 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.1994, allocations: 168.5 kB / 476.2 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.1998, allocations: 350.9 kB / 476.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.1998, allocations: 11.98 kB / 476.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1999, allocations: 0 / 476.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.1999, allocations: 0 / 476.6 MB, free: 9.055 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001008/0.2009, allocations: 0.665 MB / 477.2 MB, free: 8.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2009, allocations: 8.031 kB / 477.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.293e-05/0.201, allocations: 52.36 kB / 477.3 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005239/0.2016, allocations: 443.8 kB / 477.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.2016, allocations: 8.375 kB / 477.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.2016, allocations: 12.11 kB / 477.7 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.2018, allocations: 83.31 kB / 477.8 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2018, allocations: 3.938 kB / 477.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.2019, allocations: 4 kB / 477.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2019, allocations: 0 / 477.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.202, allocations: 27.97 kB / 477.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.2024, allocations: 378.4 kB / 478.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.2026, allocations: 109.2 kB / 478.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.423e-05/0.2027, allocations: 41.64 kB / 478.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.2028, allocations: 7.984 kB / 478.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.203, allocations: 109 kB / 478.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.203, allocations: 0 / 478.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004846/0.2035, allocations: 197.3 kB / 478.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.2036, allocations: 77.11 kB / 478.8 MB, free: 6.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.2047, allocations: 1.038 MB / 479.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.2047, allocations: 25.7 kB / 479.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.2049, allocations: 232.1 kB / 480.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.205, allocations: 31.64 kB / 480.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.2051, allocations: 13.72 kB / 480.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2052, allocations: 370.8 kB / 480.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.694e-05/0.2053, allocations: 27.98 kB / 480.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.2054, allocations: 63.41 kB / 480.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.2056, allocations: 83.48 kB / 480.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.2056, allocations: 0 / 480.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003186/0.206, allocations: 180.8 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.206, allocations: 8.062 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.206, allocations: 0 / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.206, allocations: 7.938 kB / 480.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.2062, allocations: 19.98 kB / 480.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.2062, allocations: 4 kB / 480.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-05/0.2063, allocations: 7.906 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.2063, allocations: 8 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002644/0.2066, allocations: 230.1 kB / 481.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.2066, allocations: 51.44 kB / 481.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.2068, allocations: 60 kB / 481.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.2068, allocations: 4 kB / 481.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.2068, allocations: 0 / 481.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.2068, allocations: 3.984 kB / 481.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.2071, allocations: 345.2 kB / 481.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2072, allocations: 0 / 481.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.993e-05/0.2072, allocations: 11.98 kB / 481.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.2072, allocations: 3.984 kB / 481.6 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.2072, allocations: 4 kB / 481.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.2073, allocations: 12.12 kB / 481.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2073, allocations: 0 / 481.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.2076, allocations: 197.2 kB / 481.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.2078, allocations: 144.5 kB / 481.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.2078, allocations: 4 kB / 481.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.115e-05/0.2079, allocations: 7.984 kB / 481.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.208, allocations: 15.94 kB / 481.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.208, allocations: 7.984 kB / 481.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008162/0.2088, allocations: 0.7682 MB / 482.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2089, allocations: 0 / 482.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.2092, allocations: 43.98 kB / 482.7 MB, free: 2.484 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009762/0.2101, allocations: 407.5 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.2104, allocations: 79.91 kB / 483.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2104, allocations: 3.938 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.2105, allocations: 43.92 kB / 483.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.211, allocations: 77.5 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.2125, allocations: 0.9557 MB / 484.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/0.213, allocations: 0.8391 MB / 485.1 MB, free: 188 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.2132, allocations: 58.95 kB / 485.2 MB, free: 132 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/0.2133, allocations: 27.42 kB / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2133, allocations: 0 / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of Templates: time 0.00878/0.2221, allocations: 3.458 MB / 488.7 MB, free: 12.66 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches