Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001862/0.001862, allocations: 196.8 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 226.5 MB / 245.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007471/0.0007471, allocations: 101.8 kB / 297.5 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.3759/0.3759, allocations: 44.81 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003719, allocations: 12 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3574, allocations: 62.96 MB / 0.5184 GB, free: 37.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.4948, allocations: 90.61 MB / 0.6069 GB, free: 14.67 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.495, allocations: 79.95 kB / 0.607 GB, free: 14.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01902/0.5141, allocations: 6.396 MB / 0.6132 GB, free: 8.188 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5141, allocations: 0 / 0.6132 GB, free: 8.188 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.5142, allocations: 8 kB / 0.6132 GB, free: 8.18 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.0007421/0.5149, allocations: 450.9 kB / 0.6137 GB, free: 7.688 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.515, allocations: 8.031 kB / 0.6137 GB, free: 7.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.098e-05/0.5151, allocations: 12.75 kB / 0.6137 GB, free: 7.668 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.5155, allocations: 224.8 kB / 0.6139 GB, free: 7.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.5155, allocations: 384 / 0.6139 GB, free: 7.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.5156, allocations: 8.375 kB / 0.6139 GB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.5158, allocations: 54.23 kB / 0.614 GB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.5158, allocations: 192 / 0.614 GB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.5158, allocations: 11.94 kB / 0.614 GB, free: 7.332 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.5158, allocations: 0 / 0.614 GB, free: 7.332 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.492e-05/0.5159, allocations: 23.92 kB / 0.614 GB, free: 7.309 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.5165, allocations: 292.8 kB / 0.6143 GB, free: 6.973 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.5166, allocations: 62.61 kB / 0.6143 GB, free: 6.902 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.458e-05/0.5167, allocations: 20.86 kB / 0.6144 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.5168, allocations: 3.938 kB / 0.6144 GB, free: 6.875 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.517, allocations: 71.38 kB / 0.6144 GB, free: 6.793 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.517, allocations: 0 / 0.6144 GB, free: 6.793 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000664/0.5176, allocations: 185.1 kB / 0.6146 GB, free: 6.605 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.5177, allocations: 51.41 kB / 0.6147 GB, free: 6.543 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.518, allocations: 200.1 kB / 0.6149 GB, free: 6.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.518, allocations: 25.7 kB / 0.6149 GB, free: 6.309 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.5181, allocations: 104.1 kB / 0.615 GB, free: 6.203 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.5181, allocations: 23.7 kB / 0.615 GB, free: 6.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.5181, allocations: 3.938 kB / 0.615 GB, free: 6.176 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.5183, allocations: 330.8 kB / 0.6153 GB, free: 5.844 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.42e-05/0.5184, allocations: 19.94 kB / 0.6153 GB, free: 5.824 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.73e-05/0.5184, allocations: 37.7 kB / 0.6154 GB, free: 5.781 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.5186, allocations: 65.64 kB / 0.6154 GB, free: 5.711 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5186, allocations: 0 / 0.6154 GB, free: 5.711 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002432/0.5188, allocations: 109.4 kB / 0.6155 GB, free: 5.598 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.5189, allocations: 4 kB / 0.6155 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5189, allocations: 0 / 0.6155 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.5189, allocations: 4 kB / 0.6155 GB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.835e-05/0.519, allocations: 15.98 kB / 0.6156 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.519, allocations: 0 / 0.6156 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.362e-05/0.5191, allocations: 8.031 kB / 0.6156 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.5191, allocations: 4 kB / 0.6156 GB, free: 5.562 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.0001147/0.5192, allocations: 133.7 kB / 0.6157 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.5192, allocations: 7.906 kB / 0.6157 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.5195, allocations: 119 kB / 0.6158 GB, free: 5.293 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5195, allocations: 7.984 kB / 0.6158 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5195, allocations: 0 / 0.6158 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.5195, allocations: 4 kB / 0.6158 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/0.5201, allocations: 419.1 kB / 0.6162 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5201, allocations: 0 / 0.6162 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.5202, allocations: 12.31 kB / 0.6162 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.5202, allocations: 4 kB / 0.6162 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.5202, allocations: 4 kB / 0.6163 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.5202, allocations: 4 kB / 0.6163 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/0.5202, allocations: 7.938 kB / 0.6163 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.5205, allocations: 216.7 kB / 0.6165 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.061e-05/0.5206, allocations: 88.92 kB / 0.6166 GB, free: 4.445 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.5207, allocations: 11.98 kB / 0.6166 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.5208, allocations: 0 / 0.6166 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.5208, allocations: 11.92 kB / 0.6166 GB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.5208, allocations: 4 kB / 0.6166 GB, free: 4.418 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001791/0.521, allocations: 151.2 kB / 0.6167 GB, free: 4.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.521, allocations: 0 / 0.6167 GB, free: 4.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003549/0.5214, allocations: 36 kB / 0.6168 GB, free: 4.234 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.001391/0.5228, allocations: 477.8 kB / 0.6172 GB, free: 3.922 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.523, allocations: 63.91 kB / 0.6173 GB, free: 3.859 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.523, allocations: 0 / 0.6173 GB, free: 3.859 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.5232, allocations: 35.92 kB / 0.6173 GB, free: 3.824 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.5235, allocations: 23.97 kB / 0.6173 GB, free: 3.801 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006162/0.5242, allocations: 254.2 kB / 0.6176 GB, free: 3.523 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.5245, allocations: 0.7043 MB / 0.6183 GB, free: 2.793 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.373e-05/0.5246, allocations: 16.56 kB / 0.6183 GB, free: 2.777 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.5247, allocations: 23.42 kB / 0.6183 GB, free: 2.754 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5247, allocations: 0 / 0.6183 GB, free: 2.754 MB / 426.7 MB Notification: Performance of Templates: time 0.0055/0.5302, allocations: 1.722 MB / 0.62 GB, free: 1.047 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches