Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 199.4 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 226.5 MB / 243.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007328/0.0007329, allocations: 103.5 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1788/0.1788, allocations: 44.84 MB / 392 MB, free: 9.332 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002372/0.0002372, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09737/0.09762, allocations: 62.96 MB / 0.5153 GB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.001913/0.09958, allocations: 1.366 MB / 0.5167 GB, free: 1.391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007986/0.1004, allocations: 0.5187 MB / 0.5172 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.86e-05/0.1005, allocations: 4 kB / 0.5172 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.1007, allocations: 47.81 kB / 0.5172 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.1009, allocations: 71.8 kB / 0.5173 GB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.1013, allocations: 161.6 kB / 0.5174 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.1014, allocations: 71.77 kB / 0.5175 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.1015, allocations: 20.2 kB / 0.5175 GB, free: 0.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.76e-05/0.1015, allocations: 31.84 kB / 0.5176 GB, free: 480 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.767e-05/0.1016, allocations: 35.84 kB / 0.5176 GB, free: 444 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.1017, allocations: 0 / 0.5176 GB, free: 444 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.128e-05/0.1017, allocations: 36 kB / 0.5176 GB, free: 408 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.1018, allocations: 23.91 kB / 0.5176 GB, free: 384 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.09e-05/0.1018, allocations: 37.64 kB / 0.5177 GB, free: 340 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.102, allocations: 87.81 kB / 0.5178 GB, free: 252 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.102, allocations: 0 / 0.5178 GB, free: 252 kB / 346.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.102, allocations: 4 kB / 0.5178 GB, free: 248 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.102, allocations: 0 / 0.5178 GB, free: 248 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.1789/0.2809, allocations: 393.1 kB / 0.5181 GB, free: 11.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.281, allocations: 9.219 kB / 0.5182 GB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.281, allocations: 9.031 kB / 0.5182 GB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.2812, allocations: 196.2 kB / 0.5184 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.2812, allocations: 2.594 kB / 0.5184 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.2812, allocations: 5.531 kB / 0.5184 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.2814, allocations: 74.95 kB / 0.5184 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2815, allocations: 1.516 kB / 0.5184 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.2815, allocations: 3.906 kB / 0.5184 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2815, allocations: 1.375 kB / 0.5184 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.2817, allocations: 49.95 kB / 0.5185 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.2821, allocations: 328.7 kB / 0.5188 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.2823, allocations: 62.94 kB / 0.5189 GB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.924e-05/0.2824, allocations: 31.62 kB / 0.5189 GB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.2824, allocations: 5.25 kB / 0.5189 GB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.2824, allocations: 35.17 kB / 0.5189 GB, free: 11.22 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.2825, allocations: 3.984 kB / 0.5189 GB, free: 11.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.00155/0.284, allocations: 492.9 kB / 0.5194 GB, free: 11.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.284, allocations: 52.59 kB / 0.5195 GB, free: 11.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.2842, allocations: 175.8 kB / 0.5196 GB, free: 10.99 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.2842, allocations: 28.23 kB / 0.5196 GB, free: 10.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.2843, allocations: 112.5 kB / 0.5198 GB, free: 10.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.2843, allocations: 36.44 kB / 0.5198 GB, free: 10.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.2843, allocations: 1.312 kB / 0.5198 GB, free: 10.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.491e-05/0.2844, allocations: 322.8 kB / 0.5201 GB, free: 10.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.2845, allocations: 60.14 kB / 0.5202 GB, free: 10.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.2847, allocations: 67.23 kB / 0.5202 GB, free: 10.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.2848, allocations: 69.09 kB / 0.5203 GB, free: 10.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.2848, allocations: 4 kB / 0.5203 GB, free: 10.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000344/0.2852, allocations: 175.6 kB / 0.5205 GB, free: 10.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2852, allocations: 4.938 kB / 0.5205 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2852, allocations: 6.75 kB / 0.5205 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.2852, allocations: 6.016 kB / 0.5205 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.2853, allocations: 29.83 kB / 0.5205 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2853, allocations: 1.031 kB / 0.5205 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.501e-05/0.2854, allocations: 14.48 kB / 0.5205 GB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.2854, allocations: 6.031 kB / 0.5205 GB, free: 10.47 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 (11): * Single equations (assignments): 11 * 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.216e-05/0.2855, allocations: 134.3 kB / 0.5207 GB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.2855, allocations: 13.72 kB / 0.5207 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/0.286, allocations: 204.2 kB / 0.5209 GB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.286, allocations: 5.344 kB / 0.5209 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.286, allocations: 3.953 kB / 0.5209 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.286, allocations: 4.875 kB / 0.5209 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.2866, allocations: 0.5042 MB / 0.5214 GB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2866, allocations: 0.9375 kB / 0.5214 GB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.2867, allocations: 42.14 kB / 0.5214 GB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.2867, allocations: 1.219 kB / 0.5214 GB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.2868, allocations: 3.844 kB / 0.5214 GB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2868, allocations: 1.438 kB / 0.5214 GB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2868, allocations: 1.562 kB / 0.5214 GB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.2871, allocations: 280.6 kB / 0.5217 GB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.2872, allocations: 94.14 kB / 0.5218 GB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.2872, allocations: 6.188 kB / 0.5218 GB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.422e-05/0.2873, allocations: 17.36 kB / 0.5218 GB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.2874, allocations: 19.83 kB / 0.5218 GB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.2874, allocations: 3.297 kB / 0.5218 GB, free: 9.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.835e-05/0.2874, allocations: 142.5 kB / 0.522 GB, free: 9.586 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2875, allocations: 0 / 0.522 GB, free: 9.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002284/0.2877, allocations: 27.33 kB / 0.522 GB, free: 9.582 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0007984/0.2885, allocations: 452.8 kB / 0.5224 GB, free: 9.371 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003374/0.2888, allocations: 142.7 kB / 0.5225 GB, free: 9.336 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2888, allocations: 3.938 kB / 0.5225 GB, free: 9.332 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.289, allocations: 86.33 kB / 0.5226 GB, free: 9.305 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.2893, allocations: 15.39 kB / 0.5226 GB, free: 9.301 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.2897, allocations: 337.2 kB / 0.523 GB, free: 9.047 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.2899, allocations: 0.7127 MB / 0.5237 GB, free: 8.348 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.2899, allocations: 16.42 kB / 0.5237 GB, free: 8.34 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2899, allocations: 0 / 0.5237 GB, free: 8.34 MB / 346.7 MB Notification: Performance of Templates: time 0.00359/0.2935, allocations: 2.014 MB / 0.5256 GB, free: 8.129 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches