Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,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_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009019/0.0009019, allocations: 201.8 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 226.6 MB / 243.1 MB, free: 14.27 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000757/0.0007569, allocations: 91.47 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1863/0.1863, allocations: 44.83 MB / 392 MB, free: 9.336 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000248/0.000248, allocations: 8 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08869/0.08895, allocations: 62.94 MB / 0.5153 GB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.001695/0.09068, allocations: 1.303 MB / 0.5166 GB, free: 1.449 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007269/0.09142, allocations: 0.4992 MB / 0.5171 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.09147, allocations: 0 / 0.5171 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.09175, allocations: 119.8 kB / 0.5172 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.09196, allocations: 107.7 kB / 0.5173 GB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.09221, allocations: 94.56 kB / 0.5174 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.09234, allocations: 87.73 kB / 0.5175 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.151e-05/0.09243, allocations: 23.95 kB / 0.5175 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.227e-05/0.09249, allocations: 35.91 kB / 0.5175 GB, free: 500 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.0926, allocations: 63.78 kB / 0.5176 GB, free: 436 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.09262, allocations: 7.984 kB / 0.5176 GB, free: 428 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.62e-05/0.0927, allocations: 43.88 kB / 0.5176 GB, free: 384 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.09275, allocations: 23.91 kB / 0.5177 GB, free: 360 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.09278, allocations: 41.64 kB / 0.5177 GB, free: 312 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.09292, allocations: 83.88 kB / 0.5178 GB, free: 228 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.09293, allocations: 3.984 kB / 0.5178 GB, free: 224 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09294, allocations: 4 kB / 0.5178 GB, free: 220 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.09295, allocations: 0 / 0.5178 GB, free: 220 kB / 346.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.1655/0.2585, allocations: 410.2 kB / 0.5182 GB, free: 11.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2585, allocations: 9.219 kB / 0.5182 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.2586, allocations: 17.81 kB / 0.5182 GB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.2587, allocations: 212.2 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.2588, allocations: 1.25 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.2588, allocations: 4.094 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.2589, allocations: 57.02 kB / 0.5185 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2589, allocations: 1.25 kB / 0.5185 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.259, allocations: 1.688 kB / 0.5185 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.259, allocations: 1.156 kB / 0.5185 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.2591, allocations: 30.08 kB / 0.5185 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.2594, allocations: 313.8 kB / 0.5188 GB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.2596, allocations: 51.39 kB / 0.5188 GB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.2596, allocations: 20.94 kB / 0.5189 GB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.2596, allocations: 0 / 0.5189 GB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.143e-05/0.2597, allocations: 33.55 kB / 0.5189 GB, free: 11.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2597, allocations: 0.5625 kB / 0.5189 GB, free: 11.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008856/0.2606, allocations: 275.5 kB / 0.5192 GB, free: 11.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.2606, allocations: 57.8 kB / 0.5192 GB, free: 11.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.2608, allocations: 281 kB / 0.5195 GB, free: 10.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.936e-06/0.2609, allocations: 32.41 kB / 0.5195 GB, free: 10.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.2609, allocations: 117.3 kB / 0.5196 GB, free: 10.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.261, allocations: 26.25 kB / 0.5197 GB, free: 10.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.261, allocations: 1.125 kB / 0.5197 GB, free: 10.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.742e-05/0.261, allocations: 327.2 kB / 0.52 GB, free: 10.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.184e-05/0.2611, allocations: 31.66 kB / 0.52 GB, free: 10.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.312e-05/0.2612, allocations: 38.97 kB / 0.52 GB, free: 10.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.975e-05/0.2613, allocations: 37.98 kB / 0.5201 GB, free: 10.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.2613, allocations: 0 / 0.5201 GB, free: 10.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002122/0.2615, allocations: 129.9 kB / 0.5202 GB, free: 10.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2616, allocations: 4.938 kB / 0.5202 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2616, allocations: 320 / 0.5202 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2616, allocations: 1.297 kB / 0.5202 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.502e-05/0.2617, allocations: 19.09 kB / 0.5202 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2617, allocations: 5.578 kB / 0.5202 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.396e-05/0.2617, allocations: 9.094 kB / 0.5202 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.2618, allocations: 5.672 kB / 0.5202 GB, free: 10.46 MB / 346.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 7.759e-05/0.2618, allocations: 138.5 kB / 0.5204 GB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.2619, allocations: 15.39 kB / 0.5204 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.2622, allocations: 143.9 kB / 0.5205 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2622, allocations: 1.781 kB / 0.5205 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2622, allocations: 1.219 kB / 0.5205 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.2622, allocations: 12.64 kB / 0.5205 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.2627, allocations: 437 kB / 0.521 GB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2627, allocations: 0.8438 kB / 0.521 GB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.2628, allocations: 23.12 kB / 0.521 GB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2628, allocations: 1.359 kB / 0.521 GB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.2628, allocations: 9.703 kB / 0.521 GB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2628, allocations: 0 / 0.521 GB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2628, allocations: 6.062 kB / 0.521 GB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.2631, allocations: 222.2 kB / 0.5212 GB, free: 9.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.2631, allocations: 92.52 kB / 0.5213 GB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.2631, allocations: 4.484 kB / 0.5213 GB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.2632, allocations: 11.8 kB / 0.5213 GB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.2633, allocations: 7.047 kB / 0.5213 GB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.2633, allocations: 3.125 kB / 0.5213 GB, free: 9.715 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001576/0.2634, allocations: 213.3 kB / 0.5215 GB, free: 9.637 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2634, allocations: 0 / 0.5215 GB, free: 9.637 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002202/0.2637, allocations: 23.05 kB / 0.5215 GB, free: 9.637 MB / 346.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 (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.0007766/0.2644, allocations: 456.8 kB / 0.522 GB, free: 9.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.2647, allocations: 78.86 kB / 0.5221 GB, free: 9.422 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2647, allocations: 0 / 0.5221 GB, free: 9.422 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.789e-05/0.2648, allocations: 49.3 kB / 0.5221 GB, free: 9.414 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.2651, allocations: 15.67 kB / 0.5221 GB, free: 9.414 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.2655, allocations: 371.1 kB / 0.5225 GB, free: 9.176 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.2657, allocations: 0.7212 MB / 0.5232 GB, free: 8.477 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.2657, allocations: 18.12 kB / 0.5232 GB, free: 8.465 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2657, allocations: 0 / 0.5232 GB, free: 8.465 MB / 346.7 MB Notification: Performance of Templates: time 0.003347/0.2691, allocations: 1.928 MB / 0.5251 GB, free: 8.234 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches