Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,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",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,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",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001039/0.00104, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 226.5 MB / 243.4 MB, free: 6.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000864/0.0008639, allocations: 95.53 kB / 295.5 MB, free: 6.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3625/0.3625, allocations: 44.82 MB / 392.3 MB, free: 35.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.000295, allocations: 11.98 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3502, allocations: 62.96 MB / 0.5159 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.001651/0.3519, allocations: 1.304 MB / 0.5172 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.3531, allocations: 1.092 MB / 0.5182 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.058e-05/0.3532, allocations: 0 / 0.5182 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.3534, allocations: 27.81 kB / 0.5182 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.3536, allocations: 58.92 kB / 0.5183 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.3538, allocations: 81.39 kB / 0.5184 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.3539, allocations: 66.05 kB / 0.5184 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.354, allocations: 24.19 kB / 0.5185 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.223e-05/0.3541, allocations: 26.83 kB / 0.5185 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.3556, allocations: 28.16 kB / 0.5185 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.3557, allocations: 2.906 kB / 0.5185 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.3558, allocations: 84.95 kB / 0.5186 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.3559, allocations: 14.02 kB / 0.5186 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.3559, allocations: 51.2 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.3562, allocations: 104.7 kB / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3562, allocations: 0 / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3562, allocations: 0 / 0.5188 GB, free: 35.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.3562, allocations: 0 / 0.5188 GB, free: 35.23 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004811/0.3567, allocations: 397.7 kB / 0.5191 GB, free: 34.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3567, allocations: 9.656 kB / 0.5192 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.3568, allocations: 10.75 kB / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.357, allocations: 195.7 kB / 0.5194 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.357, allocations: 3.406 kB / 0.5194 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.357, allocations: 4.281 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3572, allocations: 85.69 kB / 0.5194 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3572, allocations: 0 / 0.5194 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3572, allocations: 0 / 0.5194 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3572, allocations: 2.812 kB / 0.5194 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.793e-05/0.3573, allocations: 35.52 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.3577, allocations: 298.4 kB / 0.5198 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.3578, allocations: 53.23 kB / 0.5198 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/0.3578, allocations: 25.12 kB / 0.5198 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.3579, allocations: 2.969 kB / 0.5198 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.3579, allocations: 37.89 kB / 0.5199 GB, free: 34.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3579, allocations: 0 / 0.5199 GB, free: 34.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005794/0.3585, allocations: 191 kB / 0.5201 GB, free: 34.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.3585, allocations: 88.52 kB / 0.5201 GB, free: 33.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.3587, allocations: 155.4 kB / 0.5203 GB, free: 33.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.3587, allocations: 25.7 kB / 0.5203 GB, free: 33.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/0.3587, allocations: 97.41 kB / 0.5204 GB, free: 33.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.3588, allocations: 33.8 kB / 0.5204 GB, free: 33.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.3588, allocations: 0 / 0.5204 GB, free: 33.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.629e-05/0.3588, allocations: 321.1 kB / 0.5207 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.047e-05/0.3589, allocations: 28.81 kB / 0.5208 GB, free: 33.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/0.359, allocations: 43.81 kB / 0.5208 GB, free: 33.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.3591, allocations: 73.66 kB / 0.5209 GB, free: 33.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3591, allocations: 0 / 0.5209 GB, free: 33.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000182/0.3593, allocations: 113.8 kB / 0.521 GB, free: 33.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3594, allocations: 5.531 kB / 0.521 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3594, allocations: 0 / 0.521 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3594, allocations: 0 / 0.521 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3595, allocations: 24.11 kB / 0.521 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3595, allocations: 0 / 0.521 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.3596, allocations: 13.03 kB / 0.521 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.3596, allocations: 2.781 kB / 0.521 GB, free: 33.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.521e-05/0.3596, allocations: 126.5 kB / 0.5212 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.3597, allocations: 6.906 kB / 0.5212 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.3599, allocations: 113 kB / 0.5213 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.3599, allocations: 10.23 kB / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3599, allocations: 0 / 0.5213 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.36, allocations: 7.938 kB / 0.5213 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000374/0.3603, allocations: 394.5 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3603, allocations: 0 / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.251e-05/0.3604, allocations: 22.66 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3604, allocations: 3.938 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.3604, allocations: 0 / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3604, allocations: 2.75 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3605, allocations: 7.312 kB / 0.5217 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.3607, allocations: 202.6 kB / 0.5219 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.3607, allocations: 91.42 kB / 0.522 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.3607, allocations: 3.938 kB / 0.522 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.3608, allocations: 13.81 kB / 0.522 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.3609, allocations: 6.141 kB / 0.522 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.3609, allocations: 2.844 kB / 0.522 GB, free: 32.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.373e-05/0.3609, allocations: 114.1 kB / 0.5221 GB, free: 32.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.361, allocations: 2.75 kB / 0.5221 GB, free: 32.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002621/0.3612, allocations: 45.34 kB / 0.5222 GB, free: 32.33 MB / 378.7 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 (8): * Single equations (assignments): 8 * 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.000951/0.3622, allocations: 488.7 kB / 0.5226 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.3624, allocations: 77.02 kB / 0.5227 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3624, allocations: 0 / 0.5227 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.351e-05/0.3625, allocations: 35.25 kB / 0.5227 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.3628, allocations: 24.14 kB / 0.5228 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.3631, allocations: 240.3 kB / 0.523 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.3633, allocations: 0.697 MB / 0.5237 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.3633, allocations: 17.34 kB / 0.5237 GB, free: 31.15 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3633, allocations: 3.031 kB / 0.5237 GB, free: 31.15 MB / 378.7 MB Notification: Performance of Templates: time 0.003348/0.3667, allocations: 2.075 MB / 0.5257 GB, free: 30.91 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches