Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001021, allocations: 193.9 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.332/1.332, allocations: 226.5 MB / 244.1 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008512/0.0008513, allocations: 106.9 kB / 296.1 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3405/0.3405, allocations: 44.83 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003095, allocations: 8 kB / 465.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.378, allocations: 62.96 MB / 0.5165 GB, free: 36.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.505, allocations: 90.6 MB / 0.605 GB, free: 14.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.5053, allocations: 71.97 kB / 0.605 GB, free: 14.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01703/0.5223, allocations: 6.309 MB / 0.6112 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5224, allocations: 0 / 0.6112 GB, free: 8.348 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.5224, allocations: 0 / 0.6112 GB, free: 8.348 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.0006109/0.523, allocations: 438.9 kB / 0.6116 GB, free: 7.867 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.5231, allocations: 12.03 kB / 0.6116 GB, free: 7.855 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.5231, allocations: 8.844 kB / 0.6116 GB, free: 7.848 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.5234, allocations: 220.8 kB / 0.6118 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.5235, allocations: 8.359 kB / 0.6118 GB, free: 7.586 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.5235, allocations: 4.375 kB / 0.6118 GB, free: 7.582 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.5237, allocations: 54.23 kB / 0.6119 GB, free: 7.523 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.5237, allocations: 192 / 0.6119 GB, free: 7.523 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.5237, allocations: 3.938 kB / 0.6119 GB, free: 7.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.5237, allocations: 0 / 0.6119 GB, free: 7.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.015e-05/0.5238, allocations: 23.98 kB / 0.6119 GB, free: 7.496 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.5242, allocations: 292.8 kB / 0.6122 GB, free: 7.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.5244, allocations: 66.55 kB / 0.6123 GB, free: 7.086 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.5245, allocations: 20.84 kB / 0.6123 GB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.5245, allocations: 4 kB / 0.6123 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.5247, allocations: 67.39 kB / 0.6124 GB, free: 6.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.5247, allocations: 0 / 0.6124 GB, free: 6.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005748/0.5253, allocations: 173.2 kB / 0.6125 GB, free: 6.805 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.5253, allocations: 55.41 kB / 0.6126 GB, free: 6.738 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.5255, allocations: 166.9 kB / 0.6127 GB, free: 6.566 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.5255, allocations: 33.7 kB / 0.6128 GB, free: 6.527 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.5256, allocations: 104.1 kB / 0.6129 GB, free: 6.422 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.5256, allocations: 27.66 kB / 0.6129 GB, free: 6.395 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.5256, allocations: 0 / 0.6129 GB, free: 6.395 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.5257, allocations: 334.7 kB / 0.6132 GB, free: 6.059 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-05/0.5258, allocations: 15.98 kB / 0.6132 GB, free: 6.043 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.24e-05/0.5259, allocations: 41.64 kB / 0.6133 GB, free: 5.996 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.526, allocations: 61.69 kB / 0.6133 GB, free: 5.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.526, allocations: 4 kB / 0.6133 GB, free: 5.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001719/0.5262, allocations: 101.5 kB / 0.6134 GB, free: 5.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5262, allocations: 4 kB / 0.6134 GB, free: 5.816 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5262, allocations: 3.984 kB / 0.6134 GB, free: 5.812 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5263, allocations: 4 kB / 0.6134 GB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.464e-05/0.5263, allocations: 12 kB / 0.6134 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5264, allocations: 4.094 kB / 0.6135 GB, free: 5.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.43e-05/0.5264, allocations: 4 kB / 0.6135 GB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.5264, allocations: 7.984 kB / 0.6135 GB, free: 5.781 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.0001072/0.5265, allocations: 125.8 kB / 0.6136 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.5266, allocations: 11.91 kB / 0.6136 GB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.5268, allocations: 122.2 kB / 0.6137 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.5268, allocations: 4 kB / 0.6137 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5268, allocations: 0 / 0.6137 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5269, allocations: 0 / 0.6137 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.5274, allocations: 411.2 kB / 0.6141 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5274, allocations: 3.984 kB / 0.6141 GB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/0.5274, allocations: 8 kB / 0.6141 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.5274, allocations: 7.984 kB / 0.6141 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.5275, allocations: 0 / 0.6141 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5275, allocations: 384 / 0.6141 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.5275, allocations: 7.938 kB / 0.6141 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.5277, allocations: 208.2 kB / 0.6143 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.5278, allocations: 96.92 kB / 0.6144 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.5278, allocations: 4 kB / 0.6144 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.5279, allocations: 8.359 kB / 0.6144 GB, free: 4.668 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.528, allocations: 7.938 kB / 0.6144 GB, free: 4.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.528, allocations: 4 kB / 0.6144 GB, free: 4.656 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001229/0.5281, allocations: 137.4 kB / 0.6146 GB, free: 4.523 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5281, allocations: 3.938 kB / 0.6146 GB, free: 4.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002777/0.5284, allocations: 39.88 kB / 0.6146 GB, free: 4.48 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.001148/0.5296, allocations: 457.2 kB / 0.6151 GB, free: 4.203 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.5298, allocations: 67.84 kB / 0.6151 GB, free: 4.137 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5298, allocations: 4.062 kB / 0.6151 GB, free: 4.133 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/0.5299, allocations: 31.98 kB / 0.6152 GB, free: 4.102 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.5302, allocations: 29.69 kB / 0.6152 GB, free: 4.074 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.5308, allocations: 264.1 kB / 0.6154 GB, free: 3.777 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.531, allocations: 0.7004 MB / 0.6161 GB, free: 3.051 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.5311, allocations: 15.44 kB / 0.6161 GB, free: 3.035 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5311, allocations: 0 / 0.6161 GB, free: 3.035 MB / 426.7 MB Notification: Performance of Templates: time 0.003565/0.5347, allocations: 1.912 MB / 0.618 GB, free: 1.129 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches