Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 197.4 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008767/0.0008769, allocations: 98.36 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3919/0.3919, allocations: 44.81 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002957, allocations: 12 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3651, allocations: 62.97 MB / 0.5184 GB, free: 37.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.4948, allocations: 91.56 MB / 0.6078 GB, free: 13.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.4951, allocations: 79.95 kB / 0.6079 GB, free: 13.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01546/0.5106, allocations: 5.163 MB / 0.613 GB, free: 8.492 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.5106, allocations: 0 / 0.613 GB, free: 8.492 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.275e-05/0.5106, allocations: 8 kB / 0.613 GB, free: 8.484 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007739/0.5114, allocations: 0.4928 MB / 0.6135 GB, free: 7.934 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.5115, allocations: 12.03 kB / 0.6135 GB, free: 7.922 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.5116, allocations: 16.75 kB / 0.6135 GB, free: 7.906 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.512, allocations: 241.5 kB / 0.6137 GB, free: 7.629 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.512, allocations: 8.375 kB / 0.6137 GB, free: 7.621 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.5121, allocations: 4.375 kB / 0.6137 GB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.5123, allocations: 110.6 kB / 0.6138 GB, free: 7.496 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.5123, allocations: 192 / 0.6138 GB, free: 7.496 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.5124, allocations: 7.938 kB / 0.6138 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.5124, allocations: 4 kB / 0.6138 GB, free: 7.484 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.5126, allocations: 59.84 kB / 0.6139 GB, free: 7.426 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007257/0.5133, allocations: 0.5243 MB / 0.6144 GB, free: 6.844 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.5136, allocations: 90.66 kB / 0.6145 GB, free: 6.746 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.5138, allocations: 44.83 kB / 0.6145 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.5138, allocations: 4 kB / 0.6145 GB, free: 6.695 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.514, allocations: 83.31 kB / 0.6146 GB, free: 6.602 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 4.398e-06/0.514, allocations: 4 kB / 0.6146 GB, free: 6.598 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004281/0.5144, allocations: 153.4 kB / 0.6148 GB, free: 6.441 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.5145, allocations: 51.41 kB / 0.6148 GB, free: 6.379 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.5147, allocations: 198.9 kB / 0.615 GB, free: 6.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.5148, allocations: 25.7 kB / 0.615 GB, free: 6.148 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.833e-05/0.5149, allocations: 119.9 kB / 0.6151 GB, free: 6.027 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.5149, allocations: 35.62 kB / 0.6152 GB, free: 5.992 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-06/0.5149, allocations: 0 / 0.6152 GB, free: 5.992 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.515, allocations: 330.8 kB / 0.6155 GB, free: 5.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.565e-05/0.5151, allocations: 36.34 kB / 0.6155 GB, free: 5.625 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.5153, allocations: 60.28 kB / 0.6156 GB, free: 5.551 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.5155, allocations: 113.2 kB / 0.6157 GB, free: 5.426 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5155, allocations: 0 / 0.6157 GB, free: 5.426 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003957/0.5159, allocations: 145.3 kB / 0.6158 GB, free: 5.277 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.5159, allocations: 6.656 kB / 0.6158 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.5159, allocations: 4 kB / 0.6158 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.516, allocations: 0 / 0.6158 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.5161, allocations: 23.98 kB / 0.6159 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.5161, allocations: 4 kB / 0.6159 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.646e-05/0.5162, allocations: 23.95 kB / 0.6159 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.5162, allocations: 7.938 kB / 0.6159 GB, free: 5.211 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001272/0.5163, allocations: 125.8 kB / 0.616 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.5164, allocations: 15.81 kB / 0.616 GB, free: 5.062 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.5167, allocations: 139 kB / 0.6162 GB, free: 4.926 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.5167, allocations: 4 kB / 0.6162 GB, free: 4.922 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.5167, allocations: 4 kB / 0.6162 GB, free: 4.918 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5167, allocations: 0 / 0.6162 GB, free: 4.918 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.5169, allocations: 217.5 kB / 0.6164 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.517, allocations: 3.984 kB / 0.6164 GB, free: 4.652 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-05/0.5171, allocations: 12 kB / 0.6164 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.5171, allocations: 3.938 kB / 0.6164 GB, free: 4.637 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.5171, allocations: 0 / 0.6164 GB, free: 4.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5171, allocations: 4 kB / 0.6164 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5171, allocations: 4.172 kB / 0.6164 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.5175, allocations: 204.7 kB / 0.6166 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.5176, allocations: 100.9 kB / 0.6167 GB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.5176, allocations: 4 kB / 0.6167 GB, free: 4.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.491e-05/0.5177, allocations: 7.984 kB / 0.6167 GB, free: 4.281 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.5177, allocations: 16 kB / 0.6167 GB, free: 4.266 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.5178, allocations: 4 kB / 0.6167 GB, free: 4.262 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.5179, allocations: 159.8 kB / 0.6169 GB, free: 4.109 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5179, allocations: 0 / 0.6169 GB, free: 4.109 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002543/0.5182, allocations: 32.12 kB / 0.6169 GB, free: 4.078 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0009696/0.5192, allocations: 416.2 kB / 0.6173 GB, free: 3.805 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.5194, allocations: 87.89 kB / 0.6174 GB, free: 3.719 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5194, allocations: 0 / 0.6174 GB, free: 3.719 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.5196, allocations: 39.92 kB / 0.6174 GB, free: 3.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.5199, allocations: 35.97 kB / 0.6175 GB, free: 3.645 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006097/0.5205, allocations: 296.8 kB / 0.6178 GB, free: 3.332 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.5209, allocations: 0.7242 MB / 0.6185 GB, free: 2.582 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.289e-05/0.521, allocations: 17.06 kB / 0.6185 GB, free: 2.562 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.521, allocations: 23.38 kB / 0.6185 GB, free: 2.539 MB / 426.7 MB Notification: Performance of SimCode: time 3.2e-07/0.521, allocations: 0 / 0.6185 GB, free: 2.539 MB / 426.7 MB Notification: Performance of Templates: time 0.004987/0.526, allocations: 1.824 MB / 0.6203 GB, free: 0.7266 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches