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.001234/0.001234, allocations: 95.91 kB / 17 MB, free: 6.398 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.001779/0.00178, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.623/1.623, allocations: 223.3 MB / 241.9 MB, free: 328 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.2621/0.2621, allocations: 44.25 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004864, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1857, allocations: 61.94 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003589/0.1894, allocations: 1.464 MB / 473.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.192, allocations: 0.8933 MB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.1922, allocations: 3.938 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007284/0.1929, allocations: 295.4 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005192/0.1935, allocations: 187.5 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005794/0.1941, allocations: 146.7 kB / 474.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.1945, allocations: 207.4 kB / 474.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.779e-05/0.1946, allocations: 17.55 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.1948, allocations: 111.6 kB / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003147/0.1951, allocations: 159.6 kB / 475.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.1952, allocations: 4 kB / 475.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.1953, allocations: 43.91 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.1956, allocations: 131.6 kB / 475.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.1957, allocations: 77.45 kB / 475.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.1962, allocations: 279.7 kB / 475.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.1962, allocations: 4 kB / 475.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1962, allocations: 3.938 kB / 475.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1962, allocations: 4 kB / 475.6 MB, free: 9.66 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.001278/0.1975, allocations: 0.6631 MB / 476.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.1976, allocations: 8.562 kB / 476.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.1977, allocations: 51.42 kB / 476.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008791/0.1986, allocations: 426.9 kB / 476.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.1986, allocations: 8 kB / 476.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.1987, allocations: 0 / 476.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.199, allocations: 91.31 kB / 476.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.199, allocations: 4 kB / 476.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.1991, allocations: 0 / 476.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1991, allocations: 0 / 476.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.1993, allocations: 35.91 kB / 476.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007124/0.2, allocations: 370.4 kB / 477.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.2004, allocations: 105.2 kB / 477.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.2006, allocations: 37.7 kB / 477.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.2006, allocations: 4 kB / 477.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003711/0.201, allocations: 117 kB / 477.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 4.379e-06/0.201, allocations: 4 kB / 477.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006333/0.2016, allocations: 192.9 kB / 477.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.2017, allocations: 85.05 kB / 477.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.2035, allocations: 1.038 MB / 478.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.2036, allocations: 29.7 kB / 478.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.2039, allocations: 228.1 kB / 479.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.227e-05/0.2039, allocations: 35.62 kB / 479.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.204, allocations: 0 / 479.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002508/0.2042, allocations: 370.8 kB / 479.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.2044, allocations: 23.98 kB / 479.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.2045, allocations: 59.41 kB / 479.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.2047, allocations: 28 kB / 479.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2047, allocations: 0 / 479.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004452/0.2051, allocations: 177.5 kB / 479.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.2052, allocations: 7.953 kB / 479.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.2052, allocations: 4 kB / 479.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.499e-05/0.2052, allocations: 4 kB / 479.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.2054, allocations: 24.05 kB / 479.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.2055, allocations: 3.938 kB / 479.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.2056, allocations: 11.91 kB / 479.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.2057, allocations: 4 kB / 479.8 MB, free: 5.195 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000373/0.206, allocations: 233.6 kB / 480 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.11e-05/0.2061, allocations: 43.44 kB / 480.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.2063, allocations: 63.95 kB / 480.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.2063, allocations: 0 / 480.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.2063, allocations: 8 kB / 480.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.2064, allocations: 3.984 kB / 480.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005841/0.2069, allocations: 333.4 kB / 480.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.207, allocations: 4 kB / 480.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.998e-05/0.207, allocations: 7.984 kB / 480.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.2071, allocations: 4 kB / 480.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.2071, allocations: 4 kB / 480.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.2071, allocations: 3.953 kB / 480.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2071, allocations: 0 / 480.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000572/0.2077, allocations: 197.3 kB / 480.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.2079, allocations: 148.4 kB / 480.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.208, allocations: 0 / 480.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.2081, allocations: 7.984 kB / 480.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.2082, allocations: 11.95 kB / 480.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.2083, allocations: 11.98 kB / 480.9 MB, free: 4.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001297/0.2096, allocations: 0.7721 MB / 481.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.154e-06/0.2096, allocations: 0 / 481.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004829/0.2101, allocations: 47.94 kB / 481.7 MB, free: 3.211 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001501/0.2116, allocations: 425.4 kB / 482.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.2119, allocations: 75.89 kB / 482.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2119, allocations: 0 / 482.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.2121, allocations: 48.05 kB / 482.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/0.2127, allocations: 70.19 kB / 482.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.2146, allocations: 0.901 MB / 483.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009856/0.2156, allocations: 0.8391 MB / 484 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002033/0.2158, allocations: 59.44 kB / 484.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.2159, allocations: 27.44 kB / 484.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.216, allocations: 4 kB / 484.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of Templates: time 0.01183/0.2278, allocations: 3.395 MB / 487.5 MB, free: 13.5 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