Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001434/0.001442, allocations: 194.1 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 226.5 MB / 244.1 MB, free: 6.52 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007565/0.0007565, allocations: 98.83 kB / 296.1 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3089/0.3089, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002717, allocations: 11.98 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.29, allocations: 62.95 MB / 0.5165 GB, free: 37.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.3987, allocations: 89.68 MB / 0.6041 GB, free: 15.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.399, allocations: 71.97 kB / 0.6041 GB, free: 15.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0139/0.4129, allocations: 5.48 MB / 0.6095 GB, free: 10.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4129, allocations: 0 / 0.6095 GB, free: 10.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.4129, allocations: 12 kB / 0.6095 GB, free: 10.14 MB / 426.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.000403/0.4134, allocations: 395.5 kB / 0.6099 GB, free: 9.707 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.4134, allocations: 12.03 kB / 0.6099 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.4134, allocations: 4.938 kB / 0.6099 GB, free: 9.691 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.4137, allocations: 212 kB / 0.6101 GB, free: 9.445 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-06/0.4137, allocations: 384 / 0.6101 GB, free: 9.445 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.4137, allocations: 4.375 kB / 0.6101 GB, free: 9.441 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.4139, allocations: 59.97 kB / 0.6101 GB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.4139, allocations: 192 / 0.6101 GB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.4139, allocations: 7.938 kB / 0.6101 GB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.4139, allocations: 4 kB / 0.6102 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.186e-05/0.414, allocations: 27.97 kB / 0.6102 GB, free: 9.332 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.4144, allocations: 288.9 kB / 0.6105 GB, free: 9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.4146, allocations: 54.48 kB / 0.6105 GB, free: 8.938 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.048e-05/0.4147, allocations: 24.95 kB / 0.6105 GB, free: 8.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.4147, allocations: 3.984 kB / 0.6105 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.4148, allocations: 30.56 kB / 0.6106 GB, free: 8.867 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.534e-06/0.4148, allocations: 0 / 0.6106 GB, free: 8.867 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005244/0.4153, allocations: 165.3 kB / 0.6107 GB, free: 8.699 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.4154, allocations: 77.11 kB / 0.6108 GB, free: 8.605 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.4155, allocations: 153.8 kB / 0.6109 GB, free: 8.445 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.4155, allocations: 25.7 kB / 0.611 GB, free: 8.414 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.4156, allocations: 99.98 kB / 0.6111 GB, free: 8.312 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.4156, allocations: 15.73 kB / 0.6111 GB, free: 8.297 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.4156, allocations: 8 kB / 0.6111 GB, free: 8.289 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4158, allocations: 316 kB / 0.6114 GB, free: 7.973 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.135e-05/0.4158, allocations: 23.98 kB / 0.6114 GB, free: 7.949 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.681e-05/0.4159, allocations: 45.69 kB / 0.6114 GB, free: 7.898 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.4161, allocations: 60.83 kB / 0.6115 GB, free: 7.836 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.4161, allocations: 0 / 0.6115 GB, free: 7.836 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000197/0.4163, allocations: 97.59 kB / 0.6116 GB, free: 7.734 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4163, allocations: 6.344 kB / 0.6116 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4163, allocations: 3.938 kB / 0.6116 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.4163, allocations: 4 kB / 0.6116 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.827e-05/0.4164, allocations: 8 kB / 0.6116 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4164, allocations: 4 kB / 0.6116 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.4165, allocations: 11.98 kB / 0.6116 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4165, allocations: 3.938 kB / 0.6116 GB, free: 7.695 MB / 426.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 8.022e-05/0.4166, allocations: 117.8 kB / 0.6118 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.4166, allocations: 7.906 kB / 0.6118 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.4168, allocations: 110 kB / 0.6119 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4169, allocations: 0 / 0.6119 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4169, allocations: 3.938 kB / 0.6119 GB, free: 7.445 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.4169, allocations: 0 / 0.6119 GB, free: 7.445 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.4173, allocations: 366.9 kB / 0.6122 GB, free: 7.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4173, allocations: 4 kB / 0.6122 GB, free: 7.027 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.4174, allocations: 19.98 kB / 0.6122 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4174, allocations: 0 / 0.6122 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.4174, allocations: 0 / 0.6122 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.4174, allocations: 4 kB / 0.6122 GB, free: 7.004 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4174, allocations: 3.938 kB / 0.6123 GB, free: 7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.4177, allocations: 191.4 kB / 0.6124 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.4178, allocations: 89.02 kB / 0.6125 GB, free: 6.691 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.4178, allocations: 0 / 0.6125 GB, free: 6.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.4179, allocations: 7.984 kB / 0.6125 GB, free: 6.684 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.4179, allocations: 7.938 kB / 0.6125 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.4179, allocations: 0 / 0.6125 GB, free: 6.676 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.418, allocations: 119.2 kB / 0.6126 GB, free: 6.559 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.418, allocations: 0 / 0.6126 GB, free: 6.559 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002892/0.4183, allocations: 59.84 kB / 0.6127 GB, free: 6.5 MB / 426.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.001044/0.4194, allocations: 0.4948 MB / 0.6132 GB, free: 6.172 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.4196, allocations: 63.89 kB / 0.6132 GB, free: 6.109 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4196, allocations: 4 kB / 0.6133 GB, free: 6.105 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.791e-05/0.4197, allocations: 31.98 kB / 0.6133 GB, free: 6.074 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.42, allocations: 13 kB / 0.6133 GB, free: 6.062 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.4204, allocations: 213.9 kB / 0.6135 GB, free: 5.824 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.4206, allocations: 0.6926 MB / 0.6142 GB, free: 5.105 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.4207, allocations: 19.36 kB / 0.6142 GB, free: 5.086 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4207, allocations: 0 / 0.6142 GB, free: 5.086 MB / 426.7 MB Notification: Performance of Templates: time 0.003378/0.4241, allocations: 1.951 MB / 0.6161 GB, free: 3.133 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches