Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.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_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001803/0.001803, allocations: 198.8 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 226.5 MB / 243.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000731/0.000731, allocations: 101.2 kB / 295.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3303/0.3303, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003366, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3749, allocations: 62.96 MB / 0.5159 GB, free: 37.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.001993/0.377, allocations: 1.335 MB / 0.5172 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000783/0.3778, allocations: 0.5115 MB / 0.5177 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.556e-05/0.3778, allocations: 2.969 kB / 0.5177 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.3781, allocations: 22.03 kB / 0.5177 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.3783, allocations: 71.38 kB / 0.5178 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.3786, allocations: 102.1 kB / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.3788, allocations: 77.23 kB / 0.5179 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.3789, allocations: 27.86 kB / 0.518 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.859e-05/0.379, allocations: 28.05 kB / 0.518 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.918e-05/0.3791, allocations: 30.5 kB / 0.518 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.3791, allocations: 2.969 kB / 0.518 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.216e-05/0.3792, allocations: 45.83 kB / 0.5181 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.3792, allocations: 17.2 kB / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.3793, allocations: 51.48 kB / 0.5181 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.3794, allocations: 86.58 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.3794, allocations: 3.047 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3795, allocations: 0 / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3795, allocations: 0 / 0.5182 GB, free: 35.66 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000441/0.3799, allocations: 397.1 kB / 0.5186 GB, free: 35.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.38, allocations: 12.84 kB / 0.5186 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.38, allocations: 11 kB / 0.5186 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.3802, allocations: 195 kB / 0.5188 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3802, allocations: 3.312 kB / 0.5188 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.3802, allocations: 15.89 kB / 0.5188 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.3804, allocations: 76 kB / 0.5189 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3804, allocations: 0 / 0.5189 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3804, allocations: 0 / 0.5189 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3805, allocations: 2.875 kB / 0.5189 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.3806, allocations: 52.03 kB / 0.519 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.381, allocations: 341.4 kB / 0.5193 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.3811, allocations: 69.22 kB / 0.5193 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.3812, allocations: 23.67 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.3813, allocations: 2.969 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.3813, allocations: 38.03 kB / 0.5194 GB, free: 34.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.3813, allocations: 0 / 0.5194 GB, free: 34.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.001041/0.3823, allocations: 350.1 kB / 0.5197 GB, free: 34.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.3824, allocations: 54.28 kB / 0.5198 GB, free: 34.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.3825, allocations: 164 kB / 0.5199 GB, free: 34.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.3825, allocations: 29.7 kB / 0.52 GB, free: 34.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.3826, allocations: 98.27 kB / 0.5201 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.3826, allocations: 52.62 kB / 0.5201 GB, free: 34.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.3826, allocations: 4 kB / 0.5201 GB, free: 34.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.3827, allocations: 321.1 kB / 0.5204 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.3828, allocations: 51.36 kB / 0.5205 GB, free: 33.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.484e-05/0.3829, allocations: 49.3 kB / 0.5205 GB, free: 33.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.3831, allocations: 118.8 kB / 0.5206 GB, free: 33.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3831, allocations: 0 / 0.5206 GB, free: 33.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002503/0.3834, allocations: 156.4 kB / 0.5208 GB, free: 33.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3834, allocations: 9.938 kB / 0.5208 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3834, allocations: 4 kB / 0.5208 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3834, allocations: 2.906 kB / 0.5208 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.3836, allocations: 27.72 kB / 0.5208 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3836, allocations: 3 kB / 0.5208 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.356e-05/0.3836, allocations: 6.5 kB / 0.5208 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.3836, allocations: 5.625 kB / 0.5208 GB, free: 33.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.489e-05/0.3837, allocations: 133.4 kB / 0.521 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.3838, allocations: 18.75 kB / 0.521 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.3841, allocations: 189.2 kB / 0.5212 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3841, allocations: 2.719 kB / 0.5212 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3841, allocations: 0 / 0.5212 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3841, allocations: 0 / 0.5212 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.3847, allocations: 0.5036 MB / 0.5217 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3847, allocations: 0 / 0.5217 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.286e-05/0.3848, allocations: 32.88 kB / 0.5217 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3848, allocations: 3 kB / 0.5217 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3848, allocations: 0 / 0.5217 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3848, allocations: 2.781 kB / 0.5217 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3848, allocations: 0 / 0.5217 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.3851, allocations: 265.9 kB / 0.522 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.3851, allocations: 86.91 kB / 0.522 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.3852, allocations: 7.062 kB / 0.522 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.3852, allocations: 5.562 kB / 0.5221 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.3853, allocations: 12.94 kB / 0.5221 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3853, allocations: 5.688 kB / 0.5221 GB, free: 32.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.791e-05/0.3854, allocations: 132.5 kB / 0.5222 GB, free: 32.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3854, allocations: 0 / 0.5222 GB, free: 32.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.3856, allocations: 26.84 kB / 0.5222 GB, free: 32.6 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 (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.000952/0.3866, allocations: 456.8 kB / 0.5227 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.3869, allocations: 111.7 kB / 0.5228 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3869, allocations: 0 / 0.5228 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.387, allocations: 71.48 kB / 0.5228 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.3874, allocations: 23.81 kB / 0.5229 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.3879, allocations: 324.4 kB / 0.5232 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.388, allocations: 0.7107 MB / 0.5239 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.3881, allocations: 18.81 kB / 0.5239 GB, free: 31.35 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3881, allocations: 0 / 0.5239 GB, free: 31.35 MB / 378.7 MB Notification: Performance of Templates: time 0.003234/0.3913, allocations: 1.998 MB / 0.5258 GB, free: 31.14 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches