Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001134/0.001134, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001026/0.001026, allocations: 101.9 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4128/0.4128, allocations: 44.84 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 63.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3251, allocations: 62.01 MB / 0.5152 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003762/0.3289, allocations: 1.711 MB / 0.5168 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000929/0.3299, allocations: 0.5357 MB / 0.5173 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.33, allocations: 7.156 kB / 0.5174 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.3302, allocations: 30.84 kB / 0.5174 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.3305, allocations: 63.73 kB / 0.5174 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.3307, allocations: 80.33 kB / 0.5175 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.3308, allocations: 84.83 kB / 0.5176 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.331, allocations: 20.59 kB / 0.5176 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.331, allocations: 32.14 kB / 0.5177 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.349e-05/0.3311, allocations: 37.86 kB / 0.5177 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.3311, allocations: 2.906 kB / 0.5177 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.856e-05/0.3312, allocations: 44.66 kB / 0.5177 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.522e-05/0.3313, allocations: 21.16 kB / 0.5178 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.3313, allocations: 36.94 kB / 0.5178 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.3315, allocations: 104.1 kB / 0.5179 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3315, allocations: 0 / 0.5179 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3315, allocations: 0 / 0.5179 GB, free: 35.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.3315, allocations: 0 / 0.5179 GB, free: 35.95 MB / 378.7 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.0004279/0.332, allocations: 404.5 kB / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.332, allocations: 8.594 kB / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.332, allocations: 14.78 kB / 0.5183 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.3322, allocations: 194.1 kB / 0.5185 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.3322, allocations: 4.375 kB / 0.5185 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.3322, allocations: 4.312 kB / 0.5185 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.3324, allocations: 71.77 kB / 0.5186 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3324, allocations: 7.844 kB / 0.5186 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.3324, allocations: 6.688 kB / 0.5186 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3324, allocations: 0 / 0.5186 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.3325, allocations: 43.03 kB / 0.5186 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.3329, allocations: 324.2 kB / 0.5189 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.333, allocations: 63.95 kB / 0.519 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.749e-05/0.333, allocations: 28.41 kB / 0.519 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3331, allocations: 0 / 0.519 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.3331, allocations: 36.84 kB / 0.519 GB, free: 34.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.3331, allocations: 4 kB / 0.519 GB, free: 34.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008883/0.334, allocations: 287.7 kB / 0.5193 GB, free: 34.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.334, allocations: 58.19 kB / 0.5194 GB, free: 34.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.3341, allocations: 167.4 kB / 0.5195 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.3342, allocations: 25.7 kB / 0.5196 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.3342, allocations: 102.4 kB / 0.5197 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.3342, allocations: 40.61 kB / 0.5197 GB, free: 34.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.3343, allocations: 29.86 kB / 0.5197 GB, free: 34.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.237e-05/0.3343, allocations: 325 kB / 0.52 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.3344, allocations: 43.08 kB / 0.5201 GB, free: 34.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.3345, allocations: 38.64 kB / 0.5201 GB, free: 34.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.3347, allocations: 93.5 kB / 0.5202 GB, free: 33.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3347, allocations: 3.938 kB / 0.5202 GB, free: 33.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002073/0.3349, allocations: 129.8 kB / 0.5203 GB, free: 33.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3349, allocations: 9.906 kB / 0.5203 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3349, allocations: 0 / 0.5203 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3349, allocations: 2.906 kB / 0.5203 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.335, allocations: 31.62 kB / 0.5204 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3351, allocations: 4 kB / 0.5204 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.835e-05/0.3351, allocations: 2.969 kB / 0.5204 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.3351, allocations: 6.328 kB / 0.5204 GB, free: 33.91 MB / 378.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.665e-05/0.3352, allocations: 122.5 kB / 0.5205 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.3352, allocations: 13.41 kB / 0.5205 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.3355, allocations: 164 kB / 0.5207 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3355, allocations: 3.984 kB / 0.5207 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3355, allocations: 0 / 0.5207 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3355, allocations: 0 / 0.5207 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004275/0.336, allocations: 466.2 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.336, allocations: 14.12 kB / 0.5211 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.866e-05/0.3361, allocations: 32.77 kB / 0.5212 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3361, allocations: 0 / 0.5212 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3361, allocations: 0 / 0.5212 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3361, allocations: 6.844 kB / 0.5212 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3361, allocations: 0 / 0.5212 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.3366, allocations: 0.8339 MB / 0.522 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.3366, allocations: 91.3 kB / 0.5221 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.3366, allocations: 3 kB / 0.5221 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.3367, allocations: 10.81 kB / 0.5221 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.3367, allocations: 8.984 kB / 0.5221 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.3368, allocations: 2.781 kB / 0.5221 GB, free: 32.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.281e-05/0.3368, allocations: 129.1 kB / 0.5222 GB, free: 32.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3368, allocations: 4 kB / 0.5222 GB, free: 32.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003296/0.3372, allocations: 26.88 kB / 0.5222 GB, free: 32.31 MB / 378.7 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 (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.0009113/0.3381, allocations: 453.6 kB / 0.5227 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.3383, allocations: 93.56 kB / 0.5228 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3383, allocations: 0 / 0.5228 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.751e-05/0.3384, allocations: 53.06 kB / 0.5228 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.3388, allocations: 25.14 kB / 0.5228 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000465/0.3393, allocations: 424.4 kB / 0.5233 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.3394, allocations: 0.7092 MB / 0.5239 GB, free: 30.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.831e-05/0.3395, allocations: 23.77 kB / 0.524 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.3395, allocations: 18.47 kB / 0.524 GB, free: 30.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3395, allocations: 0 / 0.524 GB, free: 30.98 MB / 378.7 MB Notification: Performance of Templates: time 0.003462/0.343, allocations: 1.482 MB / 0.5254 GB, free: 30.8 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches