Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 100.3 kB / 15.98 MB, free: 6.289 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.001591/0.001591, allocations: 191.4 kB / 16.9 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.1 MB / 222.8 MB, free: 4.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4871/0.4871, allocations: 43.49 MB / 313.6 MB, free: 8.492 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 71.08 kB / 382.2 MB, free: 8.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1853, allocations: 57.79 MB / 440 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.004717/0.19, allocations: 1.71 MB / 441.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.1917, allocations: 0.7768 MB / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.1919, allocations: 0 / 442.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005251/0.1924, allocations: 51.8 kB / 442.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.1927, allocations: 63.8 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.193, allocations: 71.86 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.1932, allocations: 95.69 kB / 442.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.724e-05/0.1933, allocations: 15.97 kB / 442.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.821e-05/0.1934, allocations: 43.8 kB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1935, allocations: 43.83 kB / 442.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1935, allocations: 4 kB / 442.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1936, allocations: 31.98 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.1937, allocations: 23.84 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.601e-05/0.1938, allocations: 27.81 kB / 443 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.1941, allocations: 99.92 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.1941, allocations: 0 / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.277e-06/0.1941, allocations: 4 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.1941, allocations: 4 kB / 443.1 MB, free: 11.63 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007728/0.1949, allocations: 395 kB / 443.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.195, allocations: 15.89 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.681e-05/0.195, allocations: 8.844 kB / 443.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.1953, allocations: 212 kB / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1954, allocations: 8.312 kB / 443.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.1954, allocations: 4.125 kB / 443.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.1956, allocations: 49.67 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1956, allocations: 7.875 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.1956, allocations: 4 kB / 443.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1956, allocations: 0 / 443.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.869e-05/0.1957, allocations: 15.98 kB / 443.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.1961, allocations: 181.7 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.1963, allocations: 54.56 kB / 444 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.079e-05/0.1964, allocations: 28.78 kB / 444 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.1964, allocations: 3.984 kB / 444 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003076/0.1967, allocations: 63.39 kB / 444.1 MB, free: 10.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1967, allocations: 0 / 444.1 MB, free: 10.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003392/0.1971, allocations: 93.52 kB / 444.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.1971, allocations: 51.41 kB / 444.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.1974, allocations: 190.2 kB / 444.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1974, allocations: 25.7 kB / 444.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.1975, allocations: 100.1 kB / 444.6 MB, free: 9.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.1976, allocations: 15.81 kB / 444.6 MB, free: 9.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.1976, allocations: 17.72 kB / 444.6 MB, free: 9.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.1978, allocations: 322.8 kB / 444.9 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/0.1979, allocations: 15.98 kB / 444.9 MB, free: 9.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/0.1979, allocations: 33.69 kB / 445 MB, free: 9.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.665e-05/0.198, allocations: 41.72 kB / 445 MB, free: 9.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.198, allocations: 0 / 445 MB, free: 9.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001613/0.1982, allocations: 89.45 kB / 445.1 MB, free: 9.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.1982, allocations: 4 kB / 445.1 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1983, allocations: 0 / 445.1 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.1983, allocations: 4 kB / 445.1 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1984, allocations: 8.031 kB / 445.1 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1984, allocations: 7.938 kB / 445.1 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.1985, allocations: 7.906 kB / 445.1 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1985, allocations: 3.984 kB / 445.1 MB, free: 9.352 MB / 382.1 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 (7): * Single equations (assignments): 7 * 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.0001693/0.1987, allocations: 121.8 kB / 445.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.928e-05/0.1987, allocations: 11.91 kB / 445.2 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.747e-05/0.1987, allocations: 16.3 kB / 445.3 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1987, allocations: 0 / 445.3 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1988, allocations: 320 / 445.3 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1988, allocations: 4 kB / 445.3 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.199, allocations: 197.5 kB / 445.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.199, allocations: 0 / 445.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.199, allocations: 4 kB / 445.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.199, allocations: 0 / 445.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.199, allocations: 3.984 kB / 445.5 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.199, allocations: 0 / 445.5 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.199, allocations: 3.938 kB / 445.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.1992, allocations: 120.9 kB / 445.6 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.1993, allocations: 81.02 kB / 445.7 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.1993, allocations: 0 / 445.7 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/0.1994, allocations: 4 kB / 445.7 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.1994, allocations: 3.984 kB / 445.7 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.1995, allocations: 8 kB / 445.7 MB, free: 8.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.1996, allocations: 140.1 kB / 445.8 MB, free: 8.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1996, allocations: 0 / 445.8 MB, free: 8.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.1998, allocations: 23.89 kB / 445.8 MB, free: 8.531 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001104/0.2009, allocations: 423 kB / 446.3 MB, free: 8.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.2012, allocations: 39.92 kB / 446.3 MB, free: 8.105 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2012, allocations: 3.938 kB / 446.3 MB, free: 8.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.635e-05/0.2012, allocations: 19.98 kB / 446.3 MB, free: 8.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.2016, allocations: 35.78 kB / 446.4 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006193/0.2022, allocations: 214.1 kB / 446.6 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.2026, allocations: 0.7002 MB / 447.3 MB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.375e-05/0.2027, allocations: 20.52 kB / 447.3 MB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.2027, allocations: 15.44 kB / 447.3 MB, free: 7.047 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2027, allocations: 7.938 kB / 447.3 MB, free: 7.039 MB / 382.1 MB Notification: Performance of Templates: time 0.005739/0.2085, allocations: 1.439 MB / 448.7 MB, free: 5.605 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches