Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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) 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(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001742/0.001743, 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.576/1.576, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009782/0.0009785, allocations: 98.17 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.0003887, allocations: 4 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3244, allocations: 51.29 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.4496, allocations: 82.41 MB / 491.8 MB, free: 9.066 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.45, allocations: 87.94 kB / 491.9 MB, free: 8.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01994/0.47, allocations: 6.848 MB / 498.7 MB, free: 2.145 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.442e-06/0.47, allocations: 0 / 498.7 MB, free: 2.145 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.49e-05/0.4701, allocations: 4 kB / 498.7 MB, free: 2.141 MB / 362.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.001205/0.4713, allocations: 0.5236 MB / 499.2 MB, free: 1.559 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.863e-05/0.4714, allocations: 11.97 kB / 499.3 MB, free: 1.547 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.549e-05/0.4715, allocations: 24.66 kB / 499.3 MB, free: 1.523 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006679/0.4722, allocations: 278.8 kB / 499.6 MB, free: 1.211 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.4722, allocations: 4.375 kB / 499.6 MB, free: 1.207 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.4723, allocations: 16.31 kB / 499.6 MB, free: 1.191 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.4727, allocations: 156.1 kB / 499.7 MB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.4727, allocations: 192 / 499.7 MB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.4728, allocations: 11.94 kB / 499.7 MB, free: 1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.4728, allocations: 0 / 499.7 MB, free: 1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.4729, allocations: 35.92 kB / 499.8 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007492/0.4737, allocations: 466.5 kB / 0.4885 GB, free: 460 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.474, allocations: 134.5 kB / 0.4886 GB, free: 288 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.4741, allocations: 59.41 kB / 0.4887 GB, free: 216 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.4741, allocations: 8 kB / 0.4887 GB, free: 208 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.4743, allocations: 96.97 kB / 0.4888 GB, free: 92 kB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.294e-06/0.4743, allocations: 3.938 kB / 0.4888 GB, free: 88 kB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004726/0.4748, allocations: 157.8 kB / 0.4889 GB, free: 15.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.459e-05/0.4749, allocations: 162.2 kB / 0.4891 GB, free: 15.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.4753, allocations: 277 kB / 0.4894 GB, free: 15.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.4753, allocations: 29.7 kB / 0.4894 GB, free: 15.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.4754, allocations: 116.4 kB / 0.4895 GB, free: 15.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.4754, allocations: 27.8 kB / 0.4895 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.4754, allocations: 4 kB / 0.4895 GB, free: 15.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4756, allocations: 326.8 kB / 0.4898 GB, free: 14.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.094e-05/0.4757, allocations: 27.98 kB / 0.4899 GB, free: 14.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.432e-05/0.4758, allocations: 82.78 kB / 0.4899 GB, free: 14.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.476, allocations: 97.11 kB / 0.49 GB, free: 14.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.476, allocations: 0 / 0.49 GB, free: 14.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002315/0.4762, allocations: 133.5 kB / 0.4902 GB, free: 14.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4763, allocations: 8 kB / 0.4902 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4763, allocations: 0 / 0.4902 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4763, allocations: 8.156 kB / 0.4902 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.4764, allocations: 15.92 kB / 0.4902 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.4764, allocations: 4 kB / 0.4902 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.571e-05/0.4765, allocations: 4 kB / 0.4902 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.4765, allocations: 4 kB / 0.4902 GB, free: 14.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sample1.u,shiftSample1.y,hold1.u,hold1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001622/0.4767, allocations: 149.8 kB / 0.4904 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.754e-05/0.4768, allocations: 69.34 kB / 0.4904 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.4771, allocations: 119.4 kB / 0.4905 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.4771, allocations: 3.984 kB / 0.4905 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.4771, allocations: 4 kB / 0.4905 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.4771, allocations: 3.984 kB / 0.4905 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.4774, allocations: 237.5 kB / 0.4908 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.4774, allocations: 7.984 kB / 0.4908 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.4775, allocations: 4 kB / 0.4908 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4775, allocations: 4 kB / 0.4908 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.4775, allocations: 0 / 0.4908 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.4775, allocations: 4 kB / 0.4908 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4775, allocations: 4 kB / 0.4908 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.4778, allocations: 194.5 kB / 0.491 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.478, allocations: 116.8 kB / 0.4911 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.4781, allocations: 4 kB / 0.4911 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.4781, allocations: 15.98 kB / 0.4911 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.4782, allocations: 4 kB / 0.4911 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.4782, allocations: 7.984 kB / 0.4911 GB, free: 13.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002067/0.4784, allocations: 200.5 kB / 0.4913 GB, free: 13.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4784, allocations: 0 / 0.4913 GB, free: 13.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003006/0.4787, allocations: 43.94 kB / 0.4914 GB, free: 13.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,sample1.u,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.000949/0.4797, allocations: 429.1 kB / 0.4918 GB, free: 12.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002917/0.48, allocations: 83.84 kB / 0.4918 GB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.48, allocations: 0 / 0.4918 GB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.972e-05/0.4801, allocations: 39.91 kB / 0.4919 GB, free: 12.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.4806, allocations: 73.36 kB / 0.492 GB, free: 12.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006538/0.4812, allocations: 385.5 kB / 0.4923 GB, free: 12.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.4816, allocations: 0.7324 MB / 0.493 GB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.733e-05/0.4817, allocations: 25.66 kB / 0.4931 GB, free: 11.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.4817, allocations: 23.42 kB / 0.4931 GB, free: 11.53 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4817, allocations: 0 / 0.4931 GB, free: 11.53 MB / 378.7 MB Notification: Performance of Templates: time 0.00621/0.4879, allocations: 2.487 MB / 0.4955 GB, free: 9.059 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches