Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.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.CombiTable1D.Test32,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.CombiTable1D.Test32") translateModel(ModelicaTest.Tables.CombiTable1D.Test32,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.CombiTable1D.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 96.14 kB / 15.87 MB, free: 12 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.001978/0.001978, allocations: 197.7 kB / 16.79 MB, free: 6.828 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.634/1.634, allocations: 205.1 MB / 222.6 MB, free: 4.781 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.389/0.389, allocations: 43.49 MB / 313.5 MB, free: 8.527 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.001651/0.001651, allocations: 63.91 kB / 382 MB, free: 8.742 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1879, allocations: 57.79 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.004412/0.1924, allocations: 1.614 MB / 441.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007997/0.1932, allocations: 323.6 kB / 441.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.229e-05/0.1933, allocations: 0 / 441.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004201/0.1937, allocations: 111.8 kB / 441.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.194, allocations: 71.78 kB / 441.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.1943, allocations: 79.91 kB / 442 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.1945, allocations: 71.81 kB / 442.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.1946, allocations: 23.97 kB / 442.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.184e-05/0.1947, allocations: 31.86 kB / 442.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.1949, allocations: 59.86 kB / 442.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.195, allocations: 7.938 kB / 442.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.605e-05/0.1951, allocations: 31.92 kB / 442.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.076e-05/0.1951, allocations: 23.92 kB / 442.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/0.1952, allocations: 31.67 kB / 442.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.1954, allocations: 103.9 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1954, allocations: 0 / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1954, allocations: 4 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.1954, allocations: 0 / 442.4 MB, free: 12.27 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.0006537/0.1961, allocations: 402.9 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.1962, allocations: 8.031 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.1962, allocations: 8.844 kB / 442.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1965, allocations: 207.9 kB / 443 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1965, allocations: 4.375 kB / 443 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1965, allocations: 8.375 kB / 443 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1967, allocations: 53.81 kB / 443.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.1967, allocations: 0 / 443.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1967, allocations: 7.922 kB / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1967, allocations: 0 / 443.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1968, allocations: 27.97 kB / 443.1 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.1974, allocations: 296.8 kB / 443.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.1977, allocations: 46.56 kB / 443.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.411e-05/0.1978, allocations: 16.94 kB / 443.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.1978, allocations: 0 / 443.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1978, allocations: 34.56 kB / 443.5 MB, free: 11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.1978, allocations: 0 / 443.5 MB, free: 11 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006249/0.1985, allocations: 157.2 kB / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.1985, allocations: 51.41 kB / 443.7 MB, free: 10.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.1988, allocations: 242.6 kB / 443.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.1989, allocations: 25.7 kB / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.199, allocations: 112.1 kB / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.199, allocations: 11.81 kB / 444.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.1991, allocations: 25.72 kB / 444.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.1993, allocations: 326.8 kB / 444.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.1994, allocations: 23.97 kB / 444.4 MB, free: 9.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.846e-05/0.1994, allocations: 23.92 kB / 444.5 MB, free: 9.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.1996, allocations: 48.83 kB / 444.5 MB, free: 9.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1996, allocations: 0 / 444.5 MB, free: 9.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000225/0.1998, allocations: 93.56 kB / 444.6 MB, free: 9.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1998, allocations: 4 kB / 444.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1999, allocations: 0 / 444.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.1999, allocations: 4 kB / 444.6 MB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.979e-05/0.1999, allocations: 8 kB / 444.6 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2, allocations: 3.938 kB / 444.6 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/0.2, allocations: 7.984 kB / 444.6 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.2, allocations: 0 / 444.6 MB, free: 9.797 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.0001821/0.2002, allocations: 141.7 kB / 444.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.2003, allocations: 11.81 kB / 444.8 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.2006, allocations: 106.9 kB / 444.9 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2006, allocations: 0 / 444.9 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2006, allocations: 4 kB / 444.9 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2006, allocations: 0 / 444.9 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005276/0.2011, allocations: 374.4 kB / 445.3 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2011, allocations: 0 / 445.3 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.2012, allocations: 11.98 kB / 445.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2012, allocations: 0 / 445.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.2012, allocations: 0 / 445.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/0.2012, allocations: 7.938 kB / 445.3 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2012, allocations: 0 / 445.3 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.2015, allocations: 191.3 kB / 445.5 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.2016, allocations: 81.02 kB / 445.5 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.2016, allocations: 4 kB / 445.5 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.2017, allocations: 11.92 kB / 445.6 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.2018, allocations: 4 kB / 445.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.2018, allocations: 0 / 445.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002385/0.202, allocations: 188.3 kB / 445.7 MB, free: 8.566 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.202, allocations: 0 / 445.7 MB, free: 8.566 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.2023, allocations: 20 kB / 445.8 MB, free: 8.547 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.00109/0.2034, allocations: 406 kB / 446.2 MB, free: 8.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.2036, allocations: 51.97 kB / 446.2 MB, free: 8.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2036, allocations: 3.938 kB / 446.2 MB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.267e-05/0.2037, allocations: 31.91 kB / 446.2 MB, free: 8.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.2041, allocations: 19.92 kB / 446.3 MB, free: 8.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/0.2047, allocations: 280 kB / 446.5 MB, free: 7.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.2052, allocations: 0.716 MB / 447.2 MB, free: 7.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.827e-05/0.2053, allocations: 11.98 kB / 447.3 MB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.2053, allocations: 11.44 kB / 447.3 MB, free: 7.016 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.2053, allocations: 0 / 447.3 MB, free: 7.016 MB / 382.1 MB Notification: Performance of Templates: time 0.00414/0.2095, allocations: 1.085 MB / 448.4 MB, free: 5.93 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches