Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009331/0.0009331, allocations: 202.4 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.312/1.312, allocations: 226.5 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007707/0.0007707, allocations: 103.5 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1944/0.1944, allocations: 44.83 MB / 392 MB, free: 9.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002252/0.0002253, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09354/0.09378, allocations: 62.96 MB / 0.5153 GB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001734/0.09557, allocations: 1.284 MB / 0.5166 GB, free: 1.473 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.09692, allocations: 1.062 MB / 0.5176 GB, free: 412 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.09698, allocations: 8 kB / 0.5176 GB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.09718, allocations: 27.91 kB / 0.5177 GB, free: 376 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.09738, allocations: 59.77 kB / 0.5177 GB, free: 316 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.09759, allocations: 75.84 kB / 0.5178 GB, free: 240 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.09771, allocations: 51.84 kB / 0.5178 GB, free: 188 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.763e-05/0.0978, allocations: 19.97 kB / 0.5178 GB, free: 168 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/0.09785, allocations: 23.84 kB / 0.5179 GB, free: 144 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.09798, allocations: 27.86 kB / 0.5179 GB, free: 116 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.09801, allocations: 4 kB / 0.5179 GB, free: 112 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.09815, allocations: 79.94 kB / 0.518 GB, free: 32 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.612e-05/0.09819, allocations: 11.94 kB / 0.518 GB, free: 20 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1812/0.2794, allocations: 29.7 kB / 0.518 GB, free: 9.926 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.2797, allocations: 97.69 kB / 0.5181 GB, free: 9.926 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.2797, allocations: 0.6562 kB / 0.5181 GB, free: 9.926 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2797, allocations: 0 / 0.5181 GB, free: 9.926 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.2797, allocations: 0.6562 kB / 0.5181 GB, free: 9.926 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.000401/0.2801, allocations: 397.5 kB / 0.5185 GB, free: 9.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2802, allocations: 9.344 kB / 0.5185 GB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.2802, allocations: 7.688 kB / 0.5185 GB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.2804, allocations: 185.4 kB / 0.5187 GB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.2804, allocations: 2.688 kB / 0.5187 GB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.2804, allocations: 2.938 kB / 0.5187 GB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.2806, allocations: 69.41 kB / 0.5188 GB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2806, allocations: 1.531 kB / 0.5188 GB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2806, allocations: 1.188 kB / 0.5188 GB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2806, allocations: 1.422 kB / 0.5188 GB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.596e-05/0.2807, allocations: 28.84 kB / 0.5188 GB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.281, allocations: 288.1 kB / 0.5191 GB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.2812, allocations: 42.38 kB / 0.5191 GB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.2813, allocations: 20.98 kB / 0.5191 GB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.2813, allocations: 4.016 kB / 0.5191 GB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.2814, allocations: 33.36 kB / 0.5192 GB, free: 8.957 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2814, allocations: 0 / 0.5192 GB, free: 8.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005629/0.2819, allocations: 158.5 kB / 0.5193 GB, free: 8.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.282, allocations: 79.44 kB / 0.5194 GB, free: 8.816 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.2821, allocations: 147.9 kB / 0.5195 GB, free: 8.715 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.2821, allocations: 29.02 kB / 0.5196 GB, free: 8.684 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.2822, allocations: 96.81 kB / 0.5196 GB, free: 8.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.2822, allocations: 18.25 kB / 0.5197 GB, free: 8.586 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.2822, allocations: 1.594 kB / 0.5197 GB, free: 8.586 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.732e-05/0.2823, allocations: 319.1 kB / 0.52 GB, free: 8.273 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.2823, allocations: 20.14 kB / 0.52 GB, free: 8.273 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.008e-05/0.2824, allocations: 43.73 kB / 0.52 GB, free: 8.254 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.266e-05/0.2825, allocations: 27.59 kB / 0.5201 GB, free: 8.254 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.2825, allocations: 0 / 0.5201 GB, free: 8.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001827/0.2827, allocations: 88.95 kB / 0.5201 GB, free: 8.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2827, allocations: 5.453 kB / 0.5201 GB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2827, allocations: 1.828 kB / 0.5201 GB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.2828, allocations: 0 / 0.5201 GB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/0.2828, allocations: 14.44 kB / 0.5202 GB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.2828, allocations: 1.125 kB / 0.5202 GB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/0.2829, allocations: 7.922 kB / 0.5202 GB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.2829, allocations: 10.11 kB / 0.5202 GB, free: 8.207 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.969e-05/0.283, allocations: 123.4 kB / 0.5203 GB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.283, allocations: 7.375 kB / 0.5203 GB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.2832, allocations: 94.59 kB / 0.5204 GB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2832, allocations: 1.938 kB / 0.5204 GB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2833, allocations: 0 / 0.5204 GB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2833, allocations: 4.75 kB / 0.5204 GB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.2836, allocations: 358 kB / 0.5207 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2836, allocations: 0.5312 kB / 0.5207 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.801e-05/0.2837, allocations: 15.03 kB / 0.5208 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2837, allocations: 4.688 kB / 0.5208 GB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.2837, allocations: 5.156 kB / 0.5208 GB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2837, allocations: 1.406 kB / 0.5208 GB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2837, allocations: 0.875 kB / 0.5208 GB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.2839, allocations: 190.5 kB / 0.521 GB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.284, allocations: 93.52 kB / 0.521 GB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.284, allocations: 1.781 kB / 0.521 GB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.2841, allocations: 8.859 kB / 0.5211 GB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.2841, allocations: 3.641 kB / 0.5211 GB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.2841, allocations: 2 kB / 0.5211 GB, free: 7.508 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.831e-05/0.2842, allocations: 116.9 kB / 0.5212 GB, free: 7.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2842, allocations: 0 / 0.5212 GB, free: 7.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.2845, allocations: 35.73 kB / 0.5212 GB, free: 7.426 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.0008963/0.2854, allocations: 492.4 kB / 0.5217 GB, free: 7.195 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.2856, allocations: 53.64 kB / 0.5217 GB, free: 7.195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2856, allocations: 1 kB / 0.5217 GB, free: 7.195 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.504e-05/0.2857, allocations: 33.61 kB / 0.5218 GB, free: 7.191 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.286, allocations: 22.77 kB / 0.5218 GB, free: 7.184 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.2863, allocations: 203.4 kB / 0.522 GB, free: 7.012 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.2864, allocations: 0.6938 MB / 0.5226 GB, free: 6.312 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.2865, allocations: 24.19 kB / 0.5227 GB, free: 6.305 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2865, allocations: 3.938 kB / 0.5227 GB, free: 6.301 MB / 346.7 MB Notification: Performance of Templates: time 0.003676/0.2901, allocations: 1.9 MB / 0.5245 GB, free: 6.094 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches