Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009783/0.0009781, allocations: 202.1 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 226.6 MB / 243.1 MB, free: 14.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007533/0.0007532, allocations: 100.8 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.187/0.187, allocations: 44.85 MB / 392 MB, free: 9.301 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003045, allocations: 4 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08831/0.08863, allocations: 62.96 MB / 0.5153 GB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001587/0.09026, allocations: 1.307 MB / 0.5166 GB, free: 1.445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006756/0.09095, allocations: 491.3 kB / 0.5171 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.091, allocations: 0 / 0.5171 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.09122, allocations: 67.83 kB / 0.5171 GB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.09141, allocations: 83.78 kB / 0.5172 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.09161, allocations: 75.09 kB / 0.5173 GB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.09173, allocations: 75.7 kB / 0.5174 GB, free: 0.668 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.623e-05/0.09181, allocations: 27.94 kB / 0.5174 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.362e-05/0.09186, allocations: 23.92 kB / 0.5174 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.729e-05/0.09195, allocations: 43.83 kB / 0.5174 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.09197, allocations: 0 / 0.5174 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.449e-05/0.09205, allocations: 39.92 kB / 0.5175 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.111e-05/0.09208, allocations: 11.98 kB / 0.5175 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.09212, allocations: 37.64 kB / 0.5175 GB, free: 492 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.09223, allocations: 79.88 kB / 0.5176 GB, free: 412 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.09225, allocations: 4 kB / 0.5176 GB, free: 408 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.09225, allocations: 0 / 0.5176 GB, free: 408 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.09226, allocations: 0 / 0.5176 GB, free: 408 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.1803/0.2725, allocations: 395.3 kB / 0.518 GB, free: 11.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2726, allocations: 8.5 kB / 0.518 GB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.2726, allocations: 8.938 kB / 0.518 GB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.2728, allocations: 194.2 kB / 0.5182 GB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.2728, allocations: 2.062 kB / 0.5182 GB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.2728, allocations: 5.938 kB / 0.5182 GB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.273, allocations: 52.95 kB / 0.5183 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.273, allocations: 5.156 kB / 0.5183 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.273, allocations: 2.062 kB / 0.5183 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.273, allocations: 0.5938 kB / 0.5183 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.2731, allocations: 35.73 kB / 0.5183 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.2734, allocations: 288.2 kB / 0.5186 GB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.994e-05/0.2736, allocations: 48.91 kB / 0.5186 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.2736, allocations: 19.5 kB / 0.5186 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.2736, allocations: 2.656 kB / 0.5186 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.2737, allocations: 31.62 kB / 0.5187 GB, free: 11.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.2737, allocations: 1.438 kB / 0.5187 GB, free: 11.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008763/0.2746, allocations: 248.9 kB / 0.5189 GB, free: 11.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.93e-05/0.2746, allocations: 61.36 kB / 0.519 GB, free: 11.13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.2748, allocations: 201.5 kB / 0.5192 GB, free: 11.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.2748, allocations: 29.28 kB / 0.5192 GB, free: 10.99 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.2748, allocations: 106.2 kB / 0.5193 GB, free: 10.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.2749, allocations: 26.25 kB / 0.5193 GB, free: 10.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.2749, allocations: 0 / 0.5193 GB, free: 10.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.273e-05/0.2749, allocations: 323.4 kB / 0.5196 GB, free: 10.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.903e-05/0.275, allocations: 31.39 kB / 0.5196 GB, free: 10.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.483e-05/0.2751, allocations: 27.97 kB / 0.5197 GB, free: 10.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.252e-05/0.2752, allocations: 31.23 kB / 0.5197 GB, free: 10.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2752, allocations: 0 / 0.5197 GB, free: 10.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002088/0.2754, allocations: 116.1 kB / 0.5198 GB, free: 10.53 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.2754, allocations: 6.969 kB / 0.5198 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2754, allocations: 0 / 0.5198 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.2754, allocations: 1.156 kB / 0.5198 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.672e-05/0.2755, allocations: 19.72 kB / 0.5198 GB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2756, allocations: 5.766 kB / 0.5198 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.2756, allocations: 13.09 kB / 0.5199 GB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.2756, allocations: 2.828 kB / 0.5199 GB, free: 10.52 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 6.557e-05/0.2757, allocations: 123.5 kB / 0.52 GB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.2757, allocations: 13.88 kB / 0.52 GB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.276, allocations: 132.6 kB / 0.5201 GB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.276, allocations: 1.125 kB / 0.5201 GB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.276, allocations: 0.5156 kB / 0.5201 GB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.276, allocations: 8.547 kB / 0.5201 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.2765, allocations: 414.2 kB / 0.5205 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2765, allocations: 0 / 0.5205 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.095e-05/0.2766, allocations: 22.97 kB / 0.5205 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.2766, allocations: 1.938 kB / 0.5205 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.2766, allocations: 8.953 kB / 0.5206 GB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2766, allocations: 5.984 kB / 0.5206 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2766, allocations: 0 / 0.5206 GB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.2768, allocations: 205.6 kB / 0.5208 GB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.762e-05/0.2769, allocations: 92.17 kB / 0.5208 GB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.2769, allocations: 3.531 kB / 0.5208 GB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.277, allocations: 13.34 kB / 0.5209 GB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.277, allocations: 10.69 kB / 0.5209 GB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.277, allocations: 2.781 kB / 0.5209 GB, free: 9.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.2771, allocations: 152.5 kB / 0.521 GB, free: 9.695 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2771, allocations: 0 / 0.521 GB, free: 9.695 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002278/0.2774, allocations: 19.36 kB / 0.521 GB, free: 9.695 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.0008343/0.2782, allocations: 458.6 kB / 0.5215 GB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.2784, allocations: 68.23 kB / 0.5215 GB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2784, allocations: 0 / 0.5215 GB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.08e-05/0.2785, allocations: 44.62 kB / 0.5216 GB, free: 9.473 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.2788, allocations: 17.53 kB / 0.5216 GB, free: 9.473 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.2792, allocations: 286.5 kB / 0.5219 GB, free: 9.273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.2793, allocations: 0.7058 MB / 0.5226 GB, free: 8.578 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.2794, allocations: 15.56 kB / 0.5226 GB, free: 8.574 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2794, allocations: 3.938 kB / 0.5226 GB, free: 8.57 MB / 346.7 MB Notification: Performance of Templates: time 0.003069/0.2825, allocations: 1.72 MB / 0.5243 GB, free: 8.379 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches