Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.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.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001291, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 202.9 kB / 16.79 MB, free: 6.84 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.589/1.589, allocations: 205.1 MB / 222.6 MB, free: 4.992 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.4245/0.4245, allocations: 43.49 MB / 313.5 MB, free: 8.613 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.002054/0.002055, allocations: 71.91 kB / 382 MB, free: 9.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1899, allocations: 57.79 MB / 439.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003677/0.1936, allocations: 1.614 MB / 441.4 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.1953, allocations: 0.9064 MB / 442.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.146e-05/0.1954, allocations: 3.938 kB / 442.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.1957, allocations: 23.91 kB / 442.4 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.1959, allocations: 35.92 kB / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.1961, allocations: 63.84 kB / 442.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.1963, allocations: 47.91 kB / 442.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1964, allocations: 11.98 kB / 442.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.565e-05/0.1965, allocations: 23.86 kB / 442.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.1967, allocations: 27.84 kB / 442.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.1967, allocations: 0 / 442.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1968, allocations: 55.86 kB / 442.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.1969, allocations: 15.97 kB / 442.6 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.1969, allocations: 15.88 kB / 442.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.1971, allocations: 88 kB / 442.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1971, allocations: 0 / 442.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1971, allocations: 0 / 442.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1972, allocations: 0 / 442.7 MB, free: 12.21 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006419/0.1978, allocations: 379.2 kB / 443.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.1979, allocations: 12.03 kB / 443.1 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.1979, allocations: 4.875 kB / 443.1 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.1982, allocations: 200.2 kB / 443.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1982, allocations: 384 / 443.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.1982, allocations: 8.281 kB / 443.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.1985, allocations: 63.53 kB / 443.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.1985, allocations: 0 / 443.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1985, allocations: 0 / 443.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.1985, allocations: 0 / 443.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.1986, allocations: 35.91 kB / 443.4 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.1991, allocations: 264.9 kB / 443.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.1994, allocations: 38.56 kB / 443.7 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.786e-05/0.1994, allocations: 20.94 kB / 443.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.1995, allocations: 0 / 443.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.1995, allocations: 34.56 kB / 443.8 MB, free: 11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.1995, allocations: 3.938 kB / 443.8 MB, free: 11 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006059/0.2001, allocations: 133.4 kB / 443.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.2002, allocations: 77.11 kB / 444 MB, free: 10.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.2003, allocations: 133.8 kB / 444.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.2004, allocations: 37.7 kB / 444.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.2005, allocations: 95.97 kB / 444.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.2005, allocations: 15.81 kB / 444.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.2005, allocations: 13.72 kB / 444.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.2007, allocations: 322.8 kB / 444.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.369e-05/0.2008, allocations: 19.98 kB / 444.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-05/0.2008, allocations: 29.7 kB / 444.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.201, allocations: 48.86 kB / 444.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.201, allocations: 192 / 444.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001777/0.2012, allocations: 85.58 kB / 444.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.2012, allocations: 7.938 kB / 444.8 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2012, allocations: 3.938 kB / 444.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.2012, allocations: 0 / 444.8 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.137e-05/0.2013, allocations: 11.98 kB / 444.8 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.2013, allocations: 11.98 kB / 444.8 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.657e-05/0.2014, allocations: 3.938 kB / 444.8 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.2014, allocations: 4 kB / 444.8 MB, free: 9.887 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001002/0.2015, allocations: 129.7 kB / 444.9 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.2015, allocations: 4 kB / 445 MB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.2018, allocations: 85.62 kB / 445 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2018, allocations: 7.938 kB / 445 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2018, allocations: 0 / 445 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2018, allocations: 4 kB / 445 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.2022, allocations: 346.4 kB / 445.4 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2022, allocations: 0 / 445.4 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.2023, allocations: 12 kB / 445.4 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2023, allocations: 0 / 445.4 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.2023, allocations: 0 / 445.4 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2023, allocations: 7.938 kB / 445.4 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2023, allocations: 0 / 445.4 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.2026, allocations: 179.6 kB / 445.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.2026, allocations: 81.02 kB / 445.7 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.2027, allocations: 4 kB / 445.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.2027, allocations: 15.92 kB / 445.7 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.2028, allocations: 4 kB / 445.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.2028, allocations: 0 / 445.7 MB, free: 8.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.21e-05/0.2029, allocations: 103.3 kB / 445.8 MB, free: 8.816 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2029, allocations: 0 / 445.8 MB, free: 8.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.2032, allocations: 27.98 kB / 445.8 MB, free: 8.789 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001108/0.2043, allocations: 438.4 kB / 446.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.2045, allocations: 47.91 kB / 446.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2045, allocations: 0 / 446.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/0.2046, allocations: 23.98 kB / 446.3 MB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.2051, allocations: 19.92 kB / 446.3 MB, free: 8.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005616/0.2057, allocations: 175.2 kB / 446.5 MB, free: 8.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.2061, allocations: 0.6964 MB / 447.2 MB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.27e-05/0.2061, allocations: 4 kB / 447.2 MB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.2062, allocations: 27.3 kB / 447.2 MB, free: 7.352 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2062, allocations: 4 kB / 447.2 MB, free: 7.348 MB / 382.1 MB Notification: Performance of Templates: time 0.004258/0.2104, allocations: 1.284 MB / 448.5 MB, free: 6.062 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches