Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008852/0.0008852, allocations: 99.8 kB / 17 MB, free: 6.844 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.0009035/0.0009033, allocations: 186.3 kB / 17.89 MB, free: 6.078 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.409/1.409, allocations: 223.2 MB / 241.9 MB, free: 300 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.2562/0.2562, allocations: 44.26 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004608/0.0004609, allocations: 8 kB / 409.7 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1925, allocations: 61.93 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002691/0.1953, allocations: 1.305 MB / 472.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009676/0.1963, allocations: 383.6 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.1964, allocations: 0 / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.1968, allocations: 79.81 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.197, allocations: 67.8 kB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.1974, allocations: 78.84 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.1977, allocations: 79.8 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.1978, allocations: 15.98 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.305e-05/0.1979, allocations: 31.84 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.1981, allocations: 51.83 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.1981, allocations: 4 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1982, allocations: 35.98 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.014e-05/0.1983, allocations: 23.91 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.442e-05/0.1984, allocations: 37.64 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.1986, allocations: 87.86 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.1986, allocations: 3.938 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1986, allocations: 3.938 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1986, allocations: 0 / 473.9 MB, free: 11.38 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007327/0.1994, allocations: 415.1 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.353e-05/0.1995, allocations: 12.03 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.1995, allocations: 7.906 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.1999, allocations: 202.7 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1999, allocations: 8 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.2, allocations: 7.984 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.2002, allocations: 69.62 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.2003, allocations: 3.984 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.2003, allocations: 4 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.2003, allocations: 4 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.2005, allocations: 43.91 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006722/0.2012, allocations: 332.6 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.2014, allocations: 62.56 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.7e-05/0.2015, allocations: 24.84 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.2016, allocations: 4 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.2016, allocations: 34.5 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.2017, allocations: 0 / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001492/0.2031, allocations: 329.7 kB / 475.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.993e-05/0.2033, allocations: 51.41 kB / 475.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.2036, allocations: 235.2 kB / 475.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.2037, allocations: 29.7 kB / 475.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2038, allocations: 116 kB / 475.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/0.2039, allocations: 51.36 kB / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.2039, allocations: 0 / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.2041, allocations: 322.8 kB / 476.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.2043, allocations: 39.98 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.2044, allocations: 39.97 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.2046, allocations: 47.98 kB / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2046, allocations: 3.938 kB / 476.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003975/0.205, allocations: 140.6 kB / 476.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.205, allocations: 4 kB / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.205, allocations: 0 / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2051, allocations: 4 kB / 476.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.2053, allocations: 28.09 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.2053, allocations: 8 kB / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.471e-05/0.2054, allocations: 15.94 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.2054, allocations: 8 kB / 476.5 MB, free: 8.508 MB / 350.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 (13): * Single equations (assignments): 13 * 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.0001593/0.2056, allocations: 134.3 kB / 476.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.2056, allocations: 15.8 kB / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005226/0.2062, allocations: 179 kB / 476.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.2062, allocations: 0 / 476.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.2062, allocations: 0 / 476.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2062, allocations: 0 / 476.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009729/0.2072, allocations: 491.1 kB / 477.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2072, allocations: 0 / 477.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.2074, allocations: 23.98 kB / 477.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.2074, allocations: 8.031 kB / 477.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.2074, allocations: 7.953 kB / 477.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2074, allocations: 0 / 477.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/0.2075, allocations: 4 kB / 477.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004962/0.208, allocations: 248 kB / 477.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.993e-05/0.2081, allocations: 92.92 kB / 477.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.2081, allocations: 0 / 477.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.2083, allocations: 19.94 kB / 477.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.2084, allocations: 7.984 kB / 477.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.2084, allocations: 4 kB / 477.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002295/0.2086, allocations: 167.2 kB / 477.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2086, allocations: 4 kB / 477.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004746/0.2091, allocations: 31.98 kB / 477.9 MB, free: 6.992 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001752/0.2109, allocations: 443.4 kB / 478.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004116/0.2113, allocations: 107.8 kB / 478.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2113, allocations: 0 / 478.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.2116, allocations: 59.91 kB / 478.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.2122, allocations: 20.05 kB / 478.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008671/0.213, allocations: 326.9 kB / 478.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/0.2136, allocations: 0.7199 MB / 479.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.2137, allocations: 20.53 kB / 479.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.2138, allocations: 15.44 kB / 479.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2138, allocations: 0 / 479.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of Templates: time 0.007498/0.2213, allocations: 1.413 MB / 481 MB, free: 4.02 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches