Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, 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.34/1.34, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000936/0.000936, allocations: 117.2 kB / 296.7 MB, free: 6.449 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3305/0.3305, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.89 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3482, allocations: 62.01 MB / 0.5152 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002544/0.3508, allocations: 1.673 MB / 0.5168 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007581/0.3516, allocations: 0.5403 MB / 0.5173 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.058e-05/0.3516, allocations: 7.938 kB / 0.5173 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.3519, allocations: 102.5 kB / 0.5174 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.3521, allocations: 102.9 kB / 0.5175 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.3523, allocations: 100.1 kB / 0.5176 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.3525, allocations: 82.91 kB / 0.5177 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.211e-05/0.3526, allocations: 24.03 kB / 0.5177 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.643e-05/0.3526, allocations: 37.2 kB / 0.5177 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.749e-05/0.3527, allocations: 68.55 kB / 0.5178 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.3527, allocations: 2.938 kB / 0.5178 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.406e-05/0.3528, allocations: 40.66 kB / 0.5179 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.3529, allocations: 30.19 kB / 0.5179 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.3529, allocations: 33.44 kB / 0.5179 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.353, allocations: 119.5 kB / 0.518 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.353, allocations: 0 / 0.518 GB, free: 35.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3531, allocations: 0 / 0.518 GB, free: 35.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.3531, allocations: 0 / 0.518 GB, free: 35.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000399/0.3535, allocations: 422.4 kB / 0.5184 GB, free: 35.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.3535, allocations: 11.72 kB / 0.5184 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.3536, allocations: 14.47 kB / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.3537, allocations: 208.2 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.3537, allocations: 384 / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.3537, allocations: 7.125 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.3539, allocations: 62.89 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.3539, allocations: 0 / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.3539, allocations: 0 / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3539, allocations: 0 / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.506e-05/0.354, allocations: 31.7 kB / 0.5188 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.3543, allocations: 313 kB / 0.5191 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.772e-05/0.3544, allocations: 48.55 kB / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.3545, allocations: 20.48 kB / 0.5191 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3545, allocations: 3.938 kB / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.3545, allocations: 34.5 kB / 0.5192 GB, free: 34.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3545, allocations: 0 / 0.5192 GB, free: 34.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000766/0.3553, allocations: 245.1 kB / 0.5194 GB, free: 34.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.3553, allocations: 58.34 kB / 0.5194 GB, free: 34.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.3555, allocations: 249.8 kB / 0.5197 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.3555, allocations: 29.7 kB / 0.5197 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.3556, allocations: 116.1 kB / 0.5198 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.3556, allocations: 29.52 kB / 0.5198 GB, free: 34.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.3557, allocations: 19 kB / 0.5199 GB, free: 34.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.161e-05/0.3557, allocations: 331 kB / 0.5202 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.345e-05/0.3558, allocations: 27.34 kB / 0.5202 GB, free: 34.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.313e-05/0.3559, allocations: 28.52 kB / 0.5202 GB, free: 34.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.356, allocations: 75.7 kB / 0.5203 GB, free: 34.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.356, allocations: 0 / 0.5203 GB, free: 34.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001873/0.3562, allocations: 119.8 kB / 0.5204 GB, free: 33.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.3562, allocations: 3.125 kB / 0.5204 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3562, allocations: 0 / 0.5204 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3562, allocations: 3.062 kB / 0.5204 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.3563, allocations: 16.89 kB / 0.5204 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3564, allocations: 0 / 0.5204 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.072e-05/0.3564, allocations: 14 kB / 0.5205 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3564, allocations: 6.375 kB / 0.5205 GB, free: 33.95 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 (8): * Single equations (assignments): 8 * 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 7.178e-05/0.3565, allocations: 131.9 kB / 0.5206 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.3565, allocations: 12.09 kB / 0.5206 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.3568, allocations: 127.4 kB / 0.5207 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3568, allocations: 0 / 0.5207 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3568, allocations: 6.156 kB / 0.5207 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3568, allocations: 3.938 kB / 0.5207 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.3572, allocations: 430.1 kB / 0.5211 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3572, allocations: 0 / 0.5211 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/0.3573, allocations: 21.7 kB / 0.5212 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3573, allocations: 3.938 kB / 0.5212 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3573, allocations: 10.91 kB / 0.5212 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3573, allocations: 32 / 0.5212 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3573, allocations: 7.938 kB / 0.5212 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.3578, allocations: 0.8164 MB / 0.522 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.3578, allocations: 87.64 kB / 0.5221 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.3578, allocations: 6.875 kB / 0.5221 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/0.3579, allocations: 6.031 kB / 0.5221 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.3579, allocations: 5.922 kB / 0.5221 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.3579, allocations: 7.109 kB / 0.5221 GB, free: 32.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.3581, allocations: 189.8 kB / 0.5223 GB, free: 32.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3581, allocations: 0 / 0.5223 GB, free: 32.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000326/0.3584, allocations: 32.36 kB / 0.5223 GB, free: 32.38 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 (8): * Single equations (assignments): 8 * 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.0008465/0.3592, allocations: 440 kB / 0.5227 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.3594, allocations: 81.81 kB / 0.5228 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3595, allocations: 0 / 0.5228 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.975e-05/0.3595, allocations: 42.81 kB / 0.5228 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.3599, allocations: 12.7 kB / 0.5229 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.3603, allocations: 456.6 kB / 0.5233 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.3605, allocations: 0.7213 MB / 0.524 GB, free: 31.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.058e-05/0.3606, allocations: 27.11 kB / 0.524 GB, free: 31.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.3606, allocations: 17.09 kB / 0.524 GB, free: 31.05 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3606, allocations: 0 / 0.524 GB, free: 31.05 MB / 378.7 MB Notification: Performance of Templates: time 0.003359/0.364, allocations: 1.357 MB / 0.5254 GB, free: 30.9 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches