Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,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.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009412/0.0009412, allocations: 194.4 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007863/0.0007865, allocations: 106.8 kB / 296.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3547/0.3547, allocations: 44.83 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002642/0.0002642, allocations: 12 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2842, allocations: 62.96 MB / 0.5165 GB, free: 37.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1114/0.3957, allocations: 89.49 MB / 0.6039 GB, free: 15.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.396, allocations: 75.97 kB / 0.6039 GB, free: 15.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01322/0.4092, allocations: 5.248 MB / 0.6091 GB, free: 10.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4093, allocations: 0 / 0.6091 GB, free: 10.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.4093, allocations: 8 kB / 0.6091 GB, free: 10.57 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004877/0.4098, allocations: 455 kB / 0.6095 GB, free: 10.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4098, allocations: 8.875 kB / 0.6095 GB, free: 10.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.4099, allocations: 16.75 kB / 0.6095 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.4102, allocations: 224.8 kB / 0.6097 GB, free: 9.785 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4102, allocations: 4.375 kB / 0.6097 GB, free: 9.781 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.4102, allocations: 4.375 kB / 0.6097 GB, free: 9.777 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.4104, allocations: 54.25 kB / 0.6098 GB, free: 9.719 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4104, allocations: 192 / 0.6098 GB, free: 9.719 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.4104, allocations: 3.938 kB / 0.6098 GB, free: 9.715 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4104, allocations: 0 / 0.6098 GB, free: 9.715 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.4105, allocations: 39.91 kB / 0.6098 GB, free: 9.676 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.411, allocations: 320.8 kB / 0.6101 GB, free: 9.312 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.4111, allocations: 38.56 kB / 0.6102 GB, free: 9.266 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.888e-05/0.4111, allocations: 24.94 kB / 0.6102 GB, free: 9.238 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.4112, allocations: 0 / 0.6102 GB, free: 9.238 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.4112, allocations: 34.5 kB / 0.6102 GB, free: 9.195 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.4112, allocations: 4 kB / 0.6102 GB, free: 9.191 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009098/0.4121, allocations: 278.2 kB / 0.6105 GB, free: 8.914 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.4122, allocations: 51.41 kB / 0.6106 GB, free: 8.852 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.4124, allocations: 243.3 kB / 0.6108 GB, free: 8.605 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.4124, allocations: 25.7 kB / 0.6108 GB, free: 8.574 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.4125, allocations: 120.1 kB / 0.6109 GB, free: 8.453 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.4125, allocations: 27.61 kB / 0.611 GB, free: 8.426 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.4125, allocations: 0 / 0.611 GB, free: 8.426 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.4126, allocations: 330.8 kB / 0.6113 GB, free: 8.094 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.01e-05/0.4127, allocations: 31.97 kB / 0.6113 GB, free: 8.062 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.4e-05/0.4128, allocations: 35.98 kB / 0.6113 GB, free: 8.027 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.413, allocations: 88.97 kB / 0.6114 GB, free: 7.938 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.413, allocations: 0 / 0.6114 GB, free: 7.938 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002334/0.4132, allocations: 121.5 kB / 0.6115 GB, free: 7.812 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4133, allocations: 4 kB / 0.6115 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4133, allocations: 0 / 0.6115 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4133, allocations: 0 / 0.6115 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.4134, allocations: 23.98 kB / 0.6116 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.4134, allocations: 0 / 0.6116 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.4135, allocations: 8 kB / 0.6116 GB, free: 7.777 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.4135, allocations: 432 / 0.6116 GB, free: 7.777 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 (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 0.0001151/0.4136, allocations: 141.8 kB / 0.6117 GB, free: 7.629 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.4137, allocations: 15.81 kB / 0.6117 GB, free: 7.613 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.414, allocations: 142.9 kB / 0.6119 GB, free: 7.469 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.414, allocations: 7.984 kB / 0.6119 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.414, allocations: 4 kB / 0.6119 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.414, allocations: 3.938 kB / 0.6119 GB, free: 7.453 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005834/0.4146, allocations: 459.1 kB / 0.6123 GB, free: 6.945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4146, allocations: 4.031 kB / 0.6123 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.684e-05/0.4147, allocations: 19.98 kB / 0.6123 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.4147, allocations: 4 kB / 0.6123 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.4147, allocations: 3.938 kB / 0.6123 GB, free: 6.914 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4147, allocations: 0 / 0.6123 GB, free: 6.914 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4148, allocations: 3.938 kB / 0.6123 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.415, allocations: 220.3 kB / 0.6126 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.4151, allocations: 100.9 kB / 0.6126 GB, free: 6.559 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.4151, allocations: 3.938 kB / 0.6127 GB, free: 6.555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.4152, allocations: 12 kB / 0.6127 GB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.4152, allocations: 7.984 kB / 0.6127 GB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.4153, allocations: 4 kB / 0.6127 GB, free: 6.531 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001767/0.4154, allocations: 195.5 kB / 0.6129 GB, free: 6.344 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4154, allocations: 0 / 0.6129 GB, free: 6.344 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002593/0.4157, allocations: 28 kB / 0.6129 GB, free: 6.316 MB / 426.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.001029/0.4168, allocations: 471.6 kB / 0.6133 GB, free: 6.023 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.417, allocations: 79.95 kB / 0.6134 GB, free: 5.945 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.417, allocations: 0 / 0.6134 GB, free: 5.945 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.633e-05/0.4171, allocations: 51.97 kB / 0.6135 GB, free: 5.895 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.4174, allocations: 13.88 kB / 0.6135 GB, free: 5.883 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.418, allocations: 364.1 kB / 0.6138 GB, free: 5.496 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.4183, allocations: 0.7121 MB / 0.6145 GB, free: 4.758 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.579e-05/0.4183, allocations: 19.44 kB / 0.6145 GB, free: 4.738 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4183, allocations: 0 / 0.6145 GB, free: 4.738 MB / 426.7 MB Notification: Performance of Templates: time 0.003549/0.4219, allocations: 1.981 MB / 0.6165 GB, free: 2.758 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches