Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001178/0.001178, allocations: 202.1 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.242/1.242, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007599/0.0007601, allocations: 98.12 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.1841/0.1841, allocations: 44.84 MB / 392 MB, free: 9.336 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002366/0.0002366, allocations: 8 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09566/0.09591, allocations: 62.95 MB / 0.5153 GB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.001704/0.09765, allocations: 1.288 MB / 0.5166 GB, free: 1.473 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007226/0.09839, allocations: 495.3 kB / 0.5171 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.09844, allocations: 0 / 0.5171 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.09862, allocations: 19.92 kB / 0.5171 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.0988, allocations: 75.67 kB / 0.5171 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.09905, allocations: 95.83 kB / 0.5172 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.09918, allocations: 55.83 kB / 0.5173 GB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.357e-05/0.09926, allocations: 11.98 kB / 0.5173 GB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.007e-05/0.09931, allocations: 23.86 kB / 0.5173 GB, free: 0.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.707e-05/0.09936, allocations: 23.84 kB / 0.5173 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.09938, allocations: 3.938 kB / 0.5173 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.862e-05/0.09945, allocations: 20 kB / 0.5174 GB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.09949, allocations: 15.98 kB / 0.5174 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.09952, allocations: 33.64 kB / 0.5174 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.885e-05/0.09962, allocations: 63.91 kB / 0.5175 GB, free: 0.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.09963, allocations: 0 / 0.5175 GB, free: 0.543 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.09964, allocations: 0 / 0.5175 GB, free: 0.543 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.09965, allocations: 0 / 0.5175 GB, free: 0.543 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.0003685/0.1, allocations: 395.2 kB / 0.5179 GB, free: 112 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.1001, allocations: 8.031 kB / 0.5179 GB, free: 104 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.1001, allocations: 11.89 kB / 0.5179 GB, free: 92 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1751/0.2752, allocations: 186.6 kB / 0.5181 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.2752, allocations: 2.453 kB / 0.5181 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.2752, allocations: 9.125 kB / 0.5181 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.2754, allocations: 49.64 kB / 0.5181 GB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2754, allocations: 0.8125 kB / 0.5181 GB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.2754, allocations: 0 / 0.5181 GB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2755, allocations: 0.875 kB / 0.5181 GB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.2756, allocations: 31.72 kB / 0.5181 GB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.2759, allocations: 289.2 kB / 0.5184 GB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.2761, allocations: 47.31 kB / 0.5185 GB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.301e-05/0.2762, allocations: 18.34 kB / 0.5185 GB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.2762, allocations: 3.844 kB / 0.5185 GB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.2762, allocations: 34.19 kB / 0.5185 GB, free: 11.4 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.2762, allocations: 3.969 kB / 0.5185 GB, free: 11.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000563/0.2768, allocations: 162.8 kB / 0.5187 GB, free: 11.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.2768, allocations: 57.28 kB / 0.5187 GB, free: 11.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.277, allocations: 177.5 kB / 0.5189 GB, free: 11.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.277, allocations: 27.27 kB / 0.5189 GB, free: 11.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.2771, allocations: 102.4 kB / 0.519 GB, free: 11.08 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.2771, allocations: 15.33 kB / 0.519 GB, free: 11.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.2771, allocations: 1.344 kB / 0.519 GB, free: 11.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.664e-05/0.2772, allocations: 325.5 kB / 0.5193 GB, free: 10.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.994e-05/0.2772, allocations: 26.72 kB / 0.5194 GB, free: 10.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.034e-05/0.2773, allocations: 26.83 kB / 0.5194 GB, free: 10.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.646e-05/0.2774, allocations: 26.73 kB / 0.5194 GB, free: 10.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2774, allocations: 4 kB / 0.5194 GB, free: 10.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001917/0.2776, allocations: 93.95 kB / 0.5195 GB, free: 10.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2776, allocations: 6.562 kB / 0.5195 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2776, allocations: 0 / 0.5195 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.2777, allocations: 0 / 0.5195 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-05/0.2777, allocations: 24.02 kB / 0.5195 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2777, allocations: 0 / 0.5195 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.2778, allocations: 8.422 kB / 0.5196 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.2778, allocations: 1.812 kB / 0.5196 GB, free: 10.71 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 6.008e-05/0.2779, allocations: 124 kB / 0.5197 GB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.2779, allocations: 7.844 kB / 0.5197 GB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.2781, allocations: 113.7 kB / 0.5198 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.2782, allocations: 1.438 kB / 0.5198 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.2782, allocations: 0 / 0.5198 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2782, allocations: 0.7031 kB / 0.5198 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.2786, allocations: 376.3 kB / 0.5202 GB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2786, allocations: 2.188 kB / 0.5202 GB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.2786, allocations: 17.69 kB / 0.5202 GB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2786, allocations: 0.7812 kB / 0.5202 GB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.2787, allocations: 1.969 kB / 0.5202 GB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2787, allocations: 1 kB / 0.5202 GB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2787, allocations: 0 / 0.5202 GB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.2789, allocations: 201.1 kB / 0.5204 GB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.2789, allocations: 88.75 kB / 0.5205 GB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.2789, allocations: 2.75 kB / 0.5205 GB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.86e-05/0.279, allocations: 10.58 kB / 0.5205 GB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.279, allocations: 8.031 kB / 0.5205 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.2791, allocations: 1.812 kB / 0.5205 GB, free: 9.984 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.481e-05/0.2791, allocations: 133.5 kB / 0.5206 GB, free: 9.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2792, allocations: 0 / 0.5206 GB, free: 9.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.2794, allocations: 12.59 kB / 0.5206 GB, free: 9.91 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.0007214/0.2801, allocations: 401.1 kB / 0.521 GB, free: 9.719 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002074/0.2803, allocations: 64.73 kB / 0.5211 GB, free: 9.711 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2803, allocations: 1.125 kB / 0.5211 GB, free: 9.711 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.624e-05/0.2804, allocations: 30.39 kB / 0.5211 GB, free: 9.711 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.2807, allocations: 17.11 kB / 0.5211 GB, free: 9.707 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.2811, allocations: 239.1 kB / 0.5213 GB, free: 9.531 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.2812, allocations: 0.698 MB / 0.522 GB, free: 8.836 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.2813, allocations: 14.12 kB / 0.522 GB, free: 8.828 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2813, allocations: 0 / 0.522 GB, free: 8.828 MB / 346.7 MB Notification: Performance of Templates: time 0.002919/0.2842, allocations: 1.501 MB / 0.5235 GB, free: 8.664 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches