Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001262, allocations: 201.6 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 226.6 MB / 243.1 MB, free: 14.31 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000747/0.000747, allocations: 106.3 kB / 295.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1797/0.1797, allocations: 44.84 MB / 392 MB, free: 9.355 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000235/0.000235, allocations: 8 kB / 464.7 MB, free: 49.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0924/0.09265, allocations: 62.96 MB / 0.5153 GB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.001685/0.09438, allocations: 1.284 MB / 0.5166 GB, free: 1.5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000717/0.09511, allocations: 499.2 kB / 0.5171 GB, free: 1.008 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.09516, allocations: 4 kB / 0.5171 GB, free: 1.004 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.09533, allocations: 23.91 kB / 0.5171 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.09553, allocations: 67.7 kB / 0.5171 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.09577, allocations: 91.81 kB / 0.5172 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.09588, allocations: 55.84 kB / 0.5173 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.524e-05/0.09598, allocations: 11.97 kB / 0.5173 GB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.311e-05/0.09602, allocations: 23.86 kB / 0.5173 GB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.836e-05/0.09608, allocations: 19.92 kB / 0.5173 GB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.0961, allocations: 0 / 0.5173 GB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.291e-05/0.09617, allocations: 27.94 kB / 0.5174 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.09622, allocations: 11.97 kB / 0.5174 GB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.09625, allocations: 33.64 kB / 0.5174 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.09636, allocations: 59.91 kB / 0.5175 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.09637, allocations: 0 / 0.5175 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09638, allocations: 4 kB / 0.5175 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.798e-06/0.09638, allocations: 0 / 0.5175 GB, free: 0.5742 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004113/0.0968, allocations: 363.4 kB / 0.5178 GB, free: 176 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.09684, allocations: 12.03 kB / 0.5178 GB, free: 164 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.09688, allocations: 11.89 kB / 0.5178 GB, free: 152 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1816/0.2785, allocations: 183 kB / 0.518 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.2785, allocations: 3.969 kB / 0.518 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.2786, allocations: 10.2 kB / 0.518 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.2787, allocations: 48.7 kB / 0.5181 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2787, allocations: 0.5 kB / 0.5181 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.2787, allocations: 4.281 kB / 0.5181 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2788, allocations: 0.5625 kB / 0.5181 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.2789, allocations: 27.34 kB / 0.5181 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.2792, allocations: 288.4 kB / 0.5184 GB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.2794, allocations: 48.52 kB / 0.5184 GB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.2794, allocations: 21.05 kB / 0.5184 GB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.2795, allocations: 1.891 kB / 0.5184 GB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.176e-05/0.2795, allocations: 37.41 kB / 0.5185 GB, free: 11.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.864e-06/0.2795, allocations: 0 / 0.5185 GB, free: 11.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005445/0.28, allocations: 167.3 kB / 0.5186 GB, free: 11.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.826e-05/0.2801, allocations: 53.41 kB / 0.5187 GB, free: 11.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.2802, allocations: 147.8 kB / 0.5188 GB, free: 11.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.2802, allocations: 28.58 kB / 0.5189 GB, free: 11.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.2803, allocations: 93.27 kB / 0.519 GB, free: 11.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.2803, allocations: 17.69 kB / 0.519 GB, free: 11.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/0.2803, allocations: 5.188 kB / 0.519 GB, free: 11.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.071e-05/0.2803, allocations: 325.4 kB / 0.5193 GB, free: 10.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-05/0.2804, allocations: 25.08 kB / 0.5193 GB, free: 10.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.879e-05/0.2805, allocations: 24.66 kB / 0.5193 GB, free: 10.78 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.554e-05/0.2806, allocations: 30.2 kB / 0.5194 GB, free: 10.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2806, allocations: 1.141 kB / 0.5194 GB, free: 10.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001831/0.2808, allocations: 92.88 kB / 0.5194 GB, free: 10.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2808, allocations: 5.562 kB / 0.5195 GB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2808, allocations: 0 / 0.5195 GB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2808, allocations: 4.656 kB / 0.5195 GB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.179e-05/0.2809, allocations: 15.62 kB / 0.5195 GB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2809, allocations: 1.062 kB / 0.5195 GB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.989e-05/0.2809, allocations: 6.25 kB / 0.5195 GB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.281, allocations: 3.469 kB / 0.5195 GB, free: 10.74 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 (5): * Single equations (assignments): 5 * 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 5.601e-05/0.281, allocations: 123.5 kB / 0.5196 GB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.2811, allocations: 8.234 kB / 0.5196 GB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.2813, allocations: 109.7 kB / 0.5197 GB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2813, allocations: 1.156 kB / 0.5197 GB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2813, allocations: 0.5 kB / 0.5197 GB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2813, allocations: 0 / 0.5197 GB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.2817, allocations: 371.7 kB / 0.5201 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2817, allocations: 2.797 kB / 0.5201 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/0.2817, allocations: 17.05 kB / 0.5201 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2818, allocations: 1.375 kB / 0.5201 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.2818, allocations: 0.5625 kB / 0.5201 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2818, allocations: 1.469 kB / 0.5201 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2818, allocations: 4 kB / 0.5201 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.282, allocations: 194.4 kB / 0.5203 GB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.2821, allocations: 88.02 kB / 0.5204 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.2821, allocations: 1.891 kB / 0.5204 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.779e-05/0.2822, allocations: 10.16 kB / 0.5204 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.2822, allocations: 5.375 kB / 0.5204 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.2822, allocations: 1.875 kB / 0.5204 GB, free: 10.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.074e-05/0.2823, allocations: 125.6 kB / 0.5205 GB, free: 9.941 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2823, allocations: 0 / 0.5205 GB, free: 9.941 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.2825, allocations: 19.23 kB / 0.5205 GB, free: 9.938 MB / 346.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 (5): * Single equations (assignments): 5 * 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.0007022/0.2832, allocations: 404.8 kB / 0.5209 GB, free: 9.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.2834, allocations: 57.77 kB / 0.521 GB, free: 9.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2834, allocations: 0 / 0.521 GB, free: 9.746 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.907e-05/0.2835, allocations: 35.08 kB / 0.521 GB, free: 9.742 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.2838, allocations: 20.75 kB / 0.521 GB, free: 9.734 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.2841, allocations: 219.3 kB / 0.5212 GB, free: 9.559 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.2842, allocations: 0.6948 MB / 0.5219 GB, free: 8.863 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.2843, allocations: 18.05 kB / 0.5219 GB, free: 8.852 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2843, allocations: 0 / 0.5219 GB, free: 8.852 MB / 346.7 MB Notification: Performance of Templates: time 0.00282/0.2871, allocations: 1.438 MB / 0.5233 GB, free: 8.707 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches