Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 190.8 kB / 16.78 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 226.5 MB / 244.1 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007882/0.0007883, allocations: 91.78 kB / 296.1 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3031/0.3031, allocations: 44.83 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002551/0.0002551, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2844, allocations: 62.96 MB / 0.5165 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1054/0.3899, allocations: 89.62 MB / 0.604 GB, free: 15.76 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.3901, allocations: 79.95 kB / 0.6041 GB, free: 15.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0143/0.4044, allocations: 5.738 MB / 0.6097 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4045, allocations: 3.938 kB / 0.6097 GB, free: 9.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.4045, allocations: 4 kB / 0.6097 GB, free: 9.926 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000377/0.4049, allocations: 415.5 kB / 0.6101 GB, free: 9.469 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.4049, allocations: 8.875 kB / 0.6101 GB, free: 9.461 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.405, allocations: 8.844 kB / 0.6101 GB, free: 9.453 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.4052, allocations: 203.1 kB / 0.6103 GB, free: 9.219 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.4052, allocations: 8.312 kB / 0.6103 GB, free: 9.211 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.4052, allocations: 4.375 kB / 0.6103 GB, free: 9.207 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.4054, allocations: 79.94 kB / 0.6104 GB, free: 9.117 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.4054, allocations: 192 / 0.6104 GB, free: 9.117 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.4054, allocations: 7.938 kB / 0.6104 GB, free: 9.109 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.4054, allocations: 0 / 0.6104 GB, free: 9.109 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.4055, allocations: 35.97 kB / 0.6104 GB, free: 9.074 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.4059, allocations: 304.8 kB / 0.6107 GB, free: 8.727 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.406, allocations: 46.56 kB / 0.6108 GB, free: 8.672 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.4061, allocations: 24.97 kB / 0.6108 GB, free: 8.645 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.4061, allocations: 0 / 0.6108 GB, free: 8.645 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.4061, allocations: 31.78 kB / 0.6108 GB, free: 8.605 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.534e-06/0.4062, allocations: 4 kB / 0.6108 GB, free: 8.602 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005829/0.4067, allocations: 201.3 kB / 0.611 GB, free: 8.398 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.4068, allocations: 81.11 kB / 0.6111 GB, free: 8.301 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.407, allocations: 157.7 kB / 0.6112 GB, free: 8.137 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.407, allocations: 25.7 kB / 0.6113 GB, free: 8.105 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.407, allocations: 96.12 kB / 0.6113 GB, free: 8.008 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.4071, allocations: 27.5 kB / 0.6114 GB, free: 7.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.4071, allocations: 4 kB / 0.6114 GB, free: 7.977 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.4072, allocations: 322.8 kB / 0.6117 GB, free: 7.652 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.177e-05/0.4073, allocations: 31.98 kB / 0.6117 GB, free: 7.621 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.185e-05/0.4074, allocations: 45.69 kB / 0.6118 GB, free: 7.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.4075, allocations: 64.83 kB / 0.6118 GB, free: 7.504 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4075, allocations: 4.031 kB / 0.6118 GB, free: 7.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002029/0.4077, allocations: 105.6 kB / 0.6119 GB, free: 7.391 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.4078, allocations: 4 kB / 0.6119 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.4078, allocations: 4 kB / 0.6119 GB, free: 7.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.4078, allocations: 0 / 0.6119 GB, free: 7.383 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.4079, allocations: 27.92 kB / 0.612 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.4079, allocations: 0 / 0.612 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.78e-05/0.4079, allocations: 7.984 kB / 0.612 GB, free: 7.348 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.408, allocations: 4 kB / 0.612 GB, free: 7.344 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 9.133e-05/0.4081, allocations: 125.7 kB / 0.6121 GB, free: 7.211 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.4081, allocations: 7.906 kB / 0.6121 GB, free: 7.203 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.4084, allocations: 130.6 kB / 0.6122 GB, free: 7.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4084, allocations: 0 / 0.6122 GB, free: 7.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.4084, allocations: 0 / 0.6122 GB, free: 7.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4084, allocations: 0 / 0.6122 GB, free: 7.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.4089, allocations: 398.5 kB / 0.6126 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4089, allocations: 4 kB / 0.6126 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-05/0.4089, allocations: 19.92 kB / 0.6126 GB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.409, allocations: 4 kB / 0.6126 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.409, allocations: 0 / 0.6126 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.409, allocations: 3.938 kB / 0.6126 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.409, allocations: 0 / 0.6126 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.4092, allocations: 207.4 kB / 0.6128 GB, free: 6.375 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.4093, allocations: 89 kB / 0.6129 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.4093, allocations: 4 kB / 0.6129 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.909e-05/0.4094, allocations: 11.94 kB / 0.6129 GB, free: 6.254 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.4094, allocations: 15.92 kB / 0.6129 GB, free: 6.238 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.4094, allocations: 0 / 0.6129 GB, free: 6.238 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.254e-05/0.4095, allocations: 118.8 kB / 0.6131 GB, free: 6.125 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4095, allocations: 0 / 0.6131 GB, free: 6.125 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002941/0.4098, allocations: 55.97 kB / 0.6131 GB, free: 6.07 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 (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.0009545/0.4108, allocations: 0.4971 MB / 0.6136 GB, free: 5.734 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.411, allocations: 75.95 kB / 0.6137 GB, free: 5.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.411, allocations: 0 / 0.6137 GB, free: 5.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.852e-05/0.4111, allocations: 39.92 kB / 0.6137 GB, free: 5.621 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.4114, allocations: 15.98 kB / 0.6137 GB, free: 5.605 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.4118, allocations: 238.7 kB / 0.614 GB, free: 5.336 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.4121, allocations: 0.6965 MB / 0.6146 GB, free: 4.613 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.4122, allocations: 19.42 kB / 0.6147 GB, free: 4.598 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4122, allocations: 0 / 0.6147 GB, free: 4.598 MB / 426.7 MB Notification: Performance of Templates: time 0.003566/0.4158, allocations: 2.073 MB / 0.6167 GB, free: 2.527 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches