Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.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.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002015/0.002015, allocations: 195.9 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 226.5 MB / 244.1 MB, free: 8.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008867/0.0008865, allocations: 98.45 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4347/0.4347, allocations: 44.82 MB / 392.9 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005022, allocations: 15.98 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3052, allocations: 62.95 MB / 0.5165 GB, free: 36.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.4064, allocations: 90.66 MB / 0.605 GB, free: 14.72 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.4067, allocations: 75.95 kB / 0.6051 GB, free: 14.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01716/0.4238, allocations: 6.536 MB / 0.6115 GB, free: 8.098 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4239, allocations: 4 kB / 0.6115 GB, free: 8.094 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.4239, allocations: 0 / 0.6115 GB, free: 8.094 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005646/0.4245, allocations: 454.8 kB / 0.6119 GB, free: 7.598 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.4245, allocations: 12.03 kB / 0.6119 GB, free: 7.586 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.4246, allocations: 20.67 kB / 0.6119 GB, free: 7.566 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.4248, allocations: 230 kB / 0.6122 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.4249, allocations: 384 / 0.6122 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.4249, allocations: 4.375 kB / 0.6122 GB, free: 7.301 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.425, allocations: 58.17 kB / 0.6122 GB, free: 7.238 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.425, allocations: 4.172 kB / 0.6122 GB, free: 7.234 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.4251, allocations: 7.938 kB / 0.6122 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.4251, allocations: 0 / 0.6122 GB, free: 7.227 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.77e-05/0.4251, allocations: 19.98 kB / 0.6122 GB, free: 7.207 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.4255, allocations: 289 kB / 0.6125 GB, free: 6.875 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.4256, allocations: 66.55 kB / 0.6126 GB, free: 6.801 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.142e-05/0.4257, allocations: 24.84 kB / 0.6126 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.4257, allocations: 0 / 0.6126 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.4259, allocations: 71.39 kB / 0.6127 GB, free: 6.691 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4259, allocations: 0 / 0.6127 GB, free: 6.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005029/0.4264, allocations: 185.1 kB / 0.6129 GB, free: 6.504 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.4264, allocations: 51.41 kB / 0.6129 GB, free: 6.441 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.4266, allocations: 212.7 kB / 0.6131 GB, free: 6.227 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.4267, allocations: 29.7 kB / 0.6131 GB, free: 6.191 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.4267, allocations: 100.1 kB / 0.6132 GB, free: 6.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.4268, allocations: 27.64 kB / 0.6133 GB, free: 6.062 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-06/0.4268, allocations: 8 kB / 0.6133 GB, free: 6.055 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4269, allocations: 330.7 kB / 0.6136 GB, free: 5.723 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.657e-05/0.427, allocations: 19.98 kB / 0.6136 GB, free: 5.703 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.431e-05/0.427, allocations: 45.64 kB / 0.6136 GB, free: 5.652 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.4271, allocations: 53.72 kB / 0.6137 GB, free: 5.594 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4272, allocations: 0 / 0.6137 GB, free: 5.594 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001777/0.4273, allocations: 105.5 kB / 0.6138 GB, free: 5.484 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.4274, allocations: 4 kB / 0.6138 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4274, allocations: 4 kB / 0.6138 GB, free: 5.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.4274, allocations: 0 / 0.6138 GB, free: 5.477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.973e-05/0.4275, allocations: 15.98 kB / 0.6138 GB, free: 5.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.4275, allocations: 4.031 kB / 0.6138 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.4275, allocations: 11.91 kB / 0.6138 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.4275, allocations: 4 kB / 0.6138 GB, free: 5.441 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.566e-05/0.4276, allocations: 139.4 kB / 0.614 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.4277, allocations: 12.09 kB / 0.614 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.4279, allocations: 119.2 kB / 0.6141 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4279, allocations: 0 / 0.6141 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4279, allocations: 3.938 kB / 0.6141 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.4279, allocations: 4 kB / 0.6141 GB, free: 5.156 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.4284, allocations: 423.2 kB / 0.6145 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4284, allocations: 3.938 kB / 0.6145 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.4285, allocations: 15.98 kB / 0.6145 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4285, allocations: 0 / 0.6145 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.4285, allocations: 0 / 0.6145 GB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4285, allocations: 4 kB / 0.6145 GB, free: 4.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4285, allocations: 3.938 kB / 0.6145 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.4288, allocations: 212.3 kB / 0.6147 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.4288, allocations: 96.91 kB / 0.6148 GB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.4289, allocations: 4 kB / 0.6148 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.4289, allocations: 4.375 kB / 0.6148 GB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.429, allocations: 11.92 kB / 0.6148 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.429, allocations: 8 kB / 0.6148 GB, free: 4.289 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001339/0.4291, allocations: 160.3 kB / 0.615 GB, free: 4.133 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4291, allocations: 0 / 0.615 GB, free: 4.133 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002555/0.4294, allocations: 35.88 kB / 0.615 GB, free: 4.098 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009166/0.4303, allocations: 474.8 kB / 0.6155 GB, free: 3.801 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.4305, allocations: 55.97 kB / 0.6155 GB, free: 3.746 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4305, allocations: 0 / 0.6155 GB, free: 3.746 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.376e-05/0.4306, allocations: 35.92 kB / 0.6156 GB, free: 3.711 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.4309, allocations: 33.91 kB / 0.6156 GB, free: 3.684 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004422/0.4314, allocations: 299.8 kB / 0.6159 GB, free: 3.359 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.4316, allocations: 0.7083 MB / 0.6166 GB, free: 2.625 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.4317, allocations: 23.42 kB / 0.6166 GB, free: 2.602 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4317, allocations: 0 / 0.6166 GB, free: 2.602 MB / 426.7 MB Notification: Performance of Templates: time 0.003681/0.4354, allocations: 2.004 MB / 0.6186 GB, free: 0.5977 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches