Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001555/0.001555, allocations: 193.8 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 226.5 MB / 243.4 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007759/0.0007757, allocations: 98.52 kB / 295.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3512/0.3512, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002976, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4273, allocations: 62.96 MB / 0.5159 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.00204/0.4294, allocations: 1.331 MB / 0.5172 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008904/0.4304, allocations: 0.4993 MB / 0.5177 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.271e-05/0.4304, allocations: 2.844 kB / 0.5177 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.4307, allocations: 33.36 kB / 0.5177 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.431, allocations: 68.61 kB / 0.5178 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.4312, allocations: 81.55 kB / 0.5178 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.4314, allocations: 69.3 kB / 0.5179 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.4316, allocations: 28.75 kB / 0.5179 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.764e-05/0.4317, allocations: 31.38 kB / 0.518 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.4318, allocations: 23.58 kB / 0.518 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.4318, allocations: 2.906 kB / 0.518 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.86e-05/0.4319, allocations: 37.72 kB / 0.518 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.256e-05/0.432, allocations: 17 kB / 0.518 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.4321, allocations: 51.2 kB / 0.5181 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.4322, allocations: 78.83 kB / 0.5182 GB, free: 35.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4322, allocations: 3.938 kB / 0.5182 GB, free: 35.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.4323, allocations: 0 / 0.5182 GB, free: 35.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.4323, allocations: 3.031 kB / 0.5182 GB, free: 35.48 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.0005734/0.4329, allocations: 395.1 kB / 0.5186 GB, free: 35.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.4329, allocations: 11.38 kB / 0.5186 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.433, allocations: 11.69 kB / 0.5186 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.4332, allocations: 190.1 kB / 0.5188 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.4332, allocations: 11.36 kB / 0.5188 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.4333, allocations: 7.031 kB / 0.5188 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.4335, allocations: 75.69 kB / 0.5188 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.4335, allocations: 2.75 kB / 0.5188 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.4335, allocations: 7.234 kB / 0.5189 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4335, allocations: 0 / 0.5189 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.4337, allocations: 42.03 kB / 0.5189 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.4342, allocations: 317.8 kB / 0.5192 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.4343, allocations: 74.23 kB / 0.5193 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.184e-05/0.4344, allocations: 23.83 kB / 0.5193 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.4344, allocations: 6.75 kB / 0.5193 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.4345, allocations: 30.56 kB / 0.5193 GB, free: 34.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.4345, allocations: 0 / 0.5193 GB, free: 34.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.001144/0.4356, allocations: 332.6 kB / 0.5196 GB, free: 34.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.4357, allocations: 58.28 kB / 0.5197 GB, free: 34.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.4359, allocations: 163.3 kB / 0.5199 GB, free: 34.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.4359, allocations: 29.7 kB / 0.5199 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.436, allocations: 105.1 kB / 0.52 GB, free: 33.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.436, allocations: 41.56 kB / 0.52 GB, free: 33.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.436, allocations: 2.969 kB / 0.52 GB, free: 33.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4361, allocations: 321.1 kB / 0.5203 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.166e-05/0.4362, allocations: 39.75 kB / 0.5204 GB, free: 33.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.08e-05/0.4363, allocations: 40.66 kB / 0.5204 GB, free: 33.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.4365, allocations: 98.53 kB / 0.5205 GB, free: 33.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4365, allocations: 0 / 0.5205 GB, free: 33.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002625/0.4368, allocations: 151.8 kB / 0.5206 GB, free: 33.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.4368, allocations: 10.56 kB / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4368, allocations: 0.7031 kB / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.4369, allocations: 0 / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.437, allocations: 26.33 kB / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.437, allocations: 0 / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.4371, allocations: 9.062 kB / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.4371, allocations: 5.062 kB / 0.5207 GB, free: 33.46 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 9.826e-05/0.4372, allocations: 123.6 kB / 0.5208 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.4372, allocations: 13.91 kB / 0.5208 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.4375, allocations: 165.8 kB / 0.521 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4376, allocations: 2.906 kB / 0.521 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4376, allocations: 4 kB / 0.521 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4376, allocations: 7.359 kB / 0.521 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.4381, allocations: 472.2 kB / 0.5215 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4381, allocations: 4.031 kB / 0.5215 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.063e-05/0.4382, allocations: 31.39 kB / 0.5215 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4382, allocations: 3.031 kB / 0.5215 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.4382, allocations: 0 / 0.5215 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4383, allocations: 3.219 kB / 0.5215 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4383, allocations: 0 / 0.5215 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.4385, allocations: 248.7 kB / 0.5217 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.4386, allocations: 91.06 kB / 0.5218 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.4386, allocations: 2.438 kB / 0.5218 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.4387, allocations: 4.906 kB / 0.5218 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.4387, allocations: 28.16 kB / 0.5218 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.4388, allocations: 10.84 kB / 0.5219 GB, free: 32.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001086/0.4389, allocations: 128 kB / 0.522 GB, free: 32.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4389, allocations: 0 / 0.522 GB, free: 32.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002832/0.4392, allocations: 24.69 kB / 0.522 GB, free: 32.45 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.001331/0.4405, allocations: 458.1 kB / 0.5224 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003113/0.4408, allocations: 99.59 kB / 0.5225 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4408, allocations: 3.938 kB / 0.5225 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.441, allocations: 65.53 kB / 0.5226 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.4414, allocations: 16.03 kB / 0.5226 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005855/0.442, allocations: 306.5 kB / 0.5229 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.4422, allocations: 0.7016 MB / 0.5236 GB, free: 31.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.4423, allocations: 19.47 kB / 0.5236 GB, free: 31.23 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4423, allocations: 0 / 0.5236 GB, free: 31.23 MB / 378.7 MB Notification: Performance of Templates: time 0.003438/0.4457, allocations: 1.896 MB / 0.5255 GB, free: 31.02 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches