Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 193.5 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.36/1.36, allocations: 226.5 MB / 244.1 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007654/0.0007654, allocations: 103.1 kB / 296.1 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3508/0.3508, allocations: 44.82 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002783, allocations: 12 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3625, allocations: 62.95 MB / 0.5165 GB, free: 37.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.4936, allocations: 90.91 MB / 0.6053 GB, free: 14.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.4939, allocations: 75.95 kB / 0.6053 GB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02537/0.5193, allocations: 9.465 MB / 0.6146 GB, free: 4.949 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5194, allocations: 0 / 0.6146 GB, free: 4.949 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.5194, allocations: 4 kB / 0.6146 GB, free: 4.945 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008411/0.5202, allocations: 0.5915 MB / 0.6152 GB, free: 4.301 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.5203, allocations: 8.031 kB / 0.6152 GB, free: 4.293 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.928e-05/0.5204, allocations: 32.56 kB / 0.6152 GB, free: 4.262 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000492/0.5209, allocations: 342.2 kB / 0.6155 GB, free: 3.887 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.5209, allocations: 4.375 kB / 0.6155 GB, free: 3.883 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.521, allocations: 12.38 kB / 0.6155 GB, free: 3.871 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.5212, allocations: 126 kB / 0.6157 GB, free: 3.738 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.5212, allocations: 192 / 0.6157 GB, free: 3.738 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.5213, allocations: 7.938 kB / 0.6157 GB, free: 3.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.5213, allocations: 0 / 0.6157 GB, free: 3.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.5214, allocations: 51.97 kB / 0.6157 GB, free: 3.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.5221, allocations: 0.5084 MB / 0.6162 GB, free: 3.117 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.5224, allocations: 126.4 kB / 0.6163 GB, free: 2.977 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.5226, allocations: 45.83 kB / 0.6164 GB, free: 2.926 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.5226, allocations: 8.062 kB / 0.6164 GB, free: 2.918 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.5228, allocations: 113.1 kB / 0.6165 GB, free: 2.789 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.5228, allocations: 4 kB / 0.6165 GB, free: 2.785 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001327/0.5241, allocations: 0.5138 MB / 0.617 GB, free: 2.266 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.5242, allocations: 85.05 kB / 0.6171 GB, free: 2.164 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005894/0.5248, allocations: 493.6 kB / 0.6175 GB, free: 1.676 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.5249, allocations: 33.7 kB / 0.6176 GB, free: 1.637 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.525, allocations: 172.5 kB / 0.6177 GB, free: 1.465 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.36e-05/0.5251, allocations: 67 kB / 0.6178 GB, free: 1.398 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/0.5251, allocations: 8 kB / 0.6178 GB, free: 1.391 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5253, allocations: 346.8 kB / 0.6181 GB, free: 1.043 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.5254, allocations: 59.97 kB / 0.6182 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.5255, allocations: 87.41 kB / 0.6183 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.5258, allocations: 164.3 kB / 0.6184 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.5258, allocations: 0 / 0.6184 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003981/0.5262, allocations: 241.2 kB / 0.6187 GB, free: 484 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5263, allocations: 4 kB / 0.6187 GB, free: 480 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5263, allocations: 3.938 kB / 0.6187 GB, free: 476 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.5263, allocations: 4 kB / 0.6187 GB, free: 472 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.5265, allocations: 51.92 kB / 0.6187 GB, free: 420 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.5265, allocations: 4 kB / 0.6187 GB, free: 416 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.971e-05/0.5266, allocations: 15.92 kB / 0.6188 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.5266, allocations: 8 kB / 0.6188 GB, free: 392 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001706/0.5268, allocations: 170.3 kB / 0.6189 GB, free: 212 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/0.5268, allocations: 35.53 kB / 0.619 GB, free: 176 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005613/0.5274, allocations: 284.6 kB / 0.6192 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.5274, allocations: 3.938 kB / 0.6192 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5274, allocations: 8 kB / 0.6192 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.5274, allocations: 3.984 kB / 0.6192 GB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.5286, allocations: 0.8169 MB / 0.62 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5286, allocations: 0 / 0.62 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.249e-05/0.5287, allocations: 39.92 kB / 0.6201 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.5287, allocations: 4 kB / 0.6201 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.5287, allocations: 4 kB / 0.6201 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5287, allocations: 0 / 0.6201 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.5287, allocations: 7.984 kB / 0.6201 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005019/0.5293, allocations: 458.3 kB / 0.6205 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.5294, allocations: 128.6 kB / 0.6207 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.549e-05/0.5294, allocations: 8 kB / 0.6207 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.5296, allocations: 15.98 kB / 0.6207 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.5297, allocations: 19.92 kB / 0.6207 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.5297, allocations: 19.92 kB / 0.6207 GB, free: 14.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000408/0.5301, allocations: 367.1 kB / 0.6211 GB, free: 13.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5301, allocations: 0 / 0.6211 GB, free: 13.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004046/0.5305, allocations: 71.94 kB / 0.6211 GB, free: 13.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001265/0.5318, allocations: 0.5278 MB / 0.6216 GB, free: 13.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003809/0.5322, allocations: 164.1 kB / 0.6218 GB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5322, allocations: 0 / 0.6218 GB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.5324, allocations: 91.83 kB / 0.6219 GB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006246/0.533, allocations: 65.38 kB / 0.622 GB, free: 13.15 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.5342, allocations: 0.7285 MB / 0.6227 GB, free: 12.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.5347, allocations: 0.7836 MB / 0.6234 GB, free: 11.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.186e-05/0.5348, allocations: 39.42 kB / 0.6235 GB, free: 11.53 MB / 442.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5348, allocations: 0 / 0.6235 GB, free: 11.53 MB / 442.7 MB Notification: Performance of Templates: time 0.006947/0.5417, allocations: 4.082 MB / 0.6275 GB, free: 7.465 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches