Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 194.4 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.312/1.312, allocations: 226.5 MB / 244.1 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007858/0.000786, allocations: 98.33 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.3698/0.3698, allocations: 44.83 MB / 393 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002899/0.0002902, allocations: 15.98 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3725, allocations: 62.96 MB / 0.5165 GB, free: 37.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4946, allocations: 90.65 MB / 0.605 GB, free: 14.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.4949, allocations: 79.97 kB / 0.6051 GB, free: 14.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0183/0.5132, allocations: 6.811 MB / 0.6117 GB, free: 7.816 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5132, allocations: 4 kB / 0.6117 GB, free: 7.812 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.5132, allocations: 4 kB / 0.6117 GB, free: 7.809 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.0006242/0.5139, allocations: 478.5 kB / 0.6122 GB, free: 7.289 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.5139, allocations: 12.03 kB / 0.6122 GB, free: 7.277 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.514, allocations: 8.844 kB / 0.6122 GB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.5143, allocations: 244.9 kB / 0.6125 GB, free: 6.988 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.5143, allocations: 384 / 0.6125 GB, free: 6.988 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.5144, allocations: 8.375 kB / 0.6125 GB, free: 6.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.5145, allocations: 58.17 kB / 0.6125 GB, free: 6.918 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.5145, allocations: 192 / 0.6125 GB, free: 6.918 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.5145, allocations: 7.922 kB / 0.6125 GB, free: 6.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/0.5146, allocations: 3.984 kB / 0.6125 GB, free: 6.906 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.296e-05/0.5146, allocations: 19.98 kB / 0.6125 GB, free: 6.887 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.5151, allocations: 304.9 kB / 0.6128 GB, free: 6.539 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.5152, allocations: 70.55 kB / 0.6129 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.603e-05/0.5153, allocations: 16.86 kB / 0.6129 GB, free: 6.441 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.5153, allocations: 7.922 kB / 0.6129 GB, free: 6.434 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.5155, allocations: 71.3 kB / 0.613 GB, free: 6.352 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.5155, allocations: 0 / 0.613 GB, free: 6.352 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005337/0.516, allocations: 181.4 kB / 0.6132 GB, free: 6.168 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.5161, allocations: 51.41 kB / 0.6132 GB, free: 6.105 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.5164, allocations: 275.9 kB / 0.6135 GB, free: 5.824 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.5164, allocations: 25.7 kB / 0.6135 GB, free: 5.793 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.5165, allocations: 124 kB / 0.6136 GB, free: 5.668 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.5165, allocations: 19.8 kB / 0.6136 GB, free: 5.648 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.5165, allocations: 0 / 0.6136 GB, free: 5.648 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5167, allocations: 330.8 kB / 0.614 GB, free: 5.316 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-05/0.5167, allocations: 31.92 kB / 0.614 GB, free: 5.285 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.41e-05/0.5168, allocations: 41.64 kB / 0.614 GB, free: 5.238 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.5169, allocations: 53.7 kB / 0.6141 GB, free: 5.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5169, allocations: 0 / 0.6141 GB, free: 5.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001886/0.5171, allocations: 105.4 kB / 0.6142 GB, free: 5.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.5172, allocations: 8 kB / 0.6142 GB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5172, allocations: 8.094 kB / 0.6142 GB, free: 5.055 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.5172, allocations: 3.984 kB / 0.6142 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.418e-05/0.5173, allocations: 12 kB / 0.6142 GB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.5173, allocations: 4 kB / 0.6142 GB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.154e-05/0.5173, allocations: 7.906 kB / 0.6142 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.5174, allocations: 4.156 kB / 0.6142 GB, free: 5.023 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 0.0001154/0.5175, allocations: 141.7 kB / 0.6144 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.5175, allocations: 19.8 kB / 0.6144 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.5178, allocations: 127 kB / 0.6145 GB, free: 4.727 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5178, allocations: 4 kB / 0.6145 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5178, allocations: 0 / 0.6145 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5178, allocations: 0 / 0.6145 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.5183, allocations: 443.2 kB / 0.6149 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5183, allocations: 288 / 0.6149 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.5184, allocations: 15.98 kB / 0.6149 GB, free: 4.215 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5184, allocations: 32 / 0.6149 GB, free: 4.215 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.5184, allocations: 11.94 kB / 0.615 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5184, allocations: 0 / 0.615 GB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5184, allocations: 3.938 kB / 0.615 GB, free: 4.199 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.5187, allocations: 212.1 kB / 0.6152 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.5187, allocations: 100.9 kB / 0.6153 GB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.5188, allocations: 4 kB / 0.6153 GB, free: 3.852 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.5189, allocations: 7.984 kB / 0.6153 GB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.5189, allocations: 11.94 kB / 0.6153 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.5189, allocations: 4 kB / 0.6153 GB, free: 3.828 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001907/0.5191, allocations: 200.6 kB / 0.6155 GB, free: 3.633 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5191, allocations: 0 / 0.6155 GB, free: 3.633 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002695/0.5194, allocations: 39.98 kB / 0.6155 GB, free: 3.594 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.001019/0.5204, allocations: 474.6 kB / 0.616 GB, free: 3.301 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.5206, allocations: 63.89 kB / 0.616 GB, free: 3.238 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5206, allocations: 0 / 0.616 GB, free: 3.238 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.702e-05/0.5207, allocations: 31.98 kB / 0.6161 GB, free: 3.207 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.5211, allocations: 29.12 kB / 0.6161 GB, free: 3.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.5217, allocations: 368.5 kB / 0.6164 GB, free: 2.785 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.522, allocations: 0.716 MB / 0.6171 GB, free: 2.043 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.522, allocations: 23.44 kB / 0.6172 GB, free: 2.02 MB / 426.7 MB Notification: Performance of SimCode: time 2.11e-07/0.522, allocations: 0 / 0.6172 GB, free: 2.02 MB / 426.7 MB Notification: Performance of Templates: time 0.003853/0.5259, allocations: 2.197 MB / 0.6193 GB, free: 15.82 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches