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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009313/0.0009313, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002315, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001047, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.002408, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1/1, allocations: 177.4 MB / 189.9 MB, free: 4.855 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.088/1.088, allocations: 53.87 MB / 243.8 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,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=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 245 MB, free: 13.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.538e-06/1.068e-05, allocations: 6.25 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002066/0.002076, allocations: 2.007 MB / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.003287, allocations: 1.222 MB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.393e-05/0.003371, allocations: 3.938 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.003698, allocations: 147.4 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.003917, allocations: 171.2 kB / 248.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.004174, allocations: 174.6 kB / 248.7 MB, free: 9.93 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.004357, allocations: 195.4 kB / 248.9 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.872e-05/0.004436, allocations: 30.33 kB / 248.9 MB, free: 9.711 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.004578, allocations: 143.7 kB / 249.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.665e-05/0.004665, allocations: 63.8 kB / 249.2 MB, free: 9.508 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.004683, allocations: 12 kB / 249.2 MB, free: 9.496 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.004786, allocations: 59.89 kB / 249.2 MB, free: 9.438 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.004836, allocations: 47.8 kB / 249.3 MB, free: 9.391 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.004874, allocations: 31.88 kB / 249.3 MB, free: 9.359 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.005052, allocations: 151.4 kB / 249.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.005062, allocations: 0 / 249.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005063, allocations: 0 / 249.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.005074, allocations: 0 / 249.4 MB, free: 9.211 MB / 250.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.0004653/0.005539, allocations: 472.8 kB / 249.9 MB, free: 8.719 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.51e-05/0.005565, allocations: 8.031 kB / 249.9 MB, free: 8.711 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.005598, allocations: 16.92 kB / 249.9 MB, free: 8.695 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.005791, allocations: 217.5 kB / 250.1 MB, free: 8.457 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.005804, allocations: 12.31 kB / 250.2 MB, free: 8.445 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.005815, allocations: 4.375 kB / 250.2 MB, free: 8.441 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.005978, allocations: 133.3 kB / 250.3 MB, free: 8.289 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.005984, allocations: 192 / 250.3 MB, free: 8.289 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.005993, allocations: 8.375 kB / 250.3 MB, free: 8.281 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.005998, allocations: 3.938 kB / 250.3 MB, free: 8.277 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.707e-05/0.006035, allocations: 26.75 kB / 250.3 MB, free: 8.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.00628, allocations: 295.7 kB / 250.6 MB, free: 7.934 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.006391, allocations: 149.2 kB / 250.8 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/0.006425, allocations: 39.41 kB / 250.8 MB, free: 7.699 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.006441, allocations: 4 kB / 250.8 MB, free: 7.695 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.332e-05/0.006534, allocations: 91.8 kB / 250.9 MB, free: 7.586 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.006535, allocations: 0 / 250.9 MB, free: 7.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001355/0.006671, allocations: 100.4 kB / 251 MB, free: 7.48 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.006725, allocations: 136.5 kB / 251.1 MB, free: 7.316 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.006868, allocations: 234.6 kB / 251.4 MB, free: 7.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.006883, allocations: 29.7 kB / 251.4 MB, free: 7.035 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.006922, allocations: 104.9 kB / 251.5 MB, free: 6.926 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.00694, allocations: 19.83 kB / 251.5 MB, free: 6.906 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.00697, allocations: 26.09 kB / 251.5 MB, free: 6.875 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.325e-05/0.007043, allocations: 338.8 kB / 251.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.007057, allocations: 10.83 kB / 251.9 MB, free: 6.523 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.00709, allocations: 65.05 kB / 251.9 MB, free: 6.441 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.736e-05/0.007128, allocations: 40.22 kB / 252 MB, free: 6.391 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.00713, allocations: 0 / 252 MB, free: 6.391 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.13e-05/0.007201, allocations: 76.38 kB / 252.1 MB, free: 6.309 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.007213, allocations: 7.938 kB / 252.1 MB, free: 6.301 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.007218, allocations: 8.094 kB / 252.1 MB, free: 6.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.931e-06/0.007224, allocations: 0 / 252.1 MB, free: 6.293 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.279e-05/0.007277, allocations: 15.98 kB / 252.1 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.00728, allocations: 0 / 252.1 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.155e-05/0.007311, allocations: 7.938 kB / 252.1 MB, free: 6.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.007316, allocations: 0 / 252.1 MB, free: 6.27 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.798e-05/0.007374, allocations: 125.3 kB / 252.2 MB, free: 6.137 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.007411, allocations: 61.55 kB / 252.3 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.281e-05/0.007494, allocations: 79.33 kB / 252.4 MB, free: 5.988 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.007502, allocations: 8.047 kB / 252.4 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.007505, allocations: 4 kB / 252.4 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.007508, allocations: 0 / 252.4 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.68e-05/0.007594, allocations: 109.8 kB / 252.5 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.007596, allocations: 0 / 252.5 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.912e-05/0.007615, allocations: 12.3 kB / 252.5 MB, free: 5.84 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.00765, allocations: 19.91 kB / 252.5 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.007652, allocations: 3.984 kB / 252.5 MB, free: 5.816 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.016e-06/0.00766, allocations: 15.94 kB / 252.5 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.007661, allocations: 0 / 252.5 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007662, allocations: 0 / 252.5 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.568e-05/0.007738, allocations: 117.3 kB / 252.6 MB, free: 5.656 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.007755, allocations: 7.984 kB / 252.6 MB, free: 5.648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.753e-05/0.007783, allocations: 7.938 kB / 252.7 MB, free: 5.641 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.007806, allocations: 11.98 kB / 252.7 MB, free: 5.629 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.007815, allocations: 4 kB / 252.7 MB, free: 5.625 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.801e-05/0.007873, allocations: 81.61 kB / 252.7 MB, free: 5.543 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007873, allocations: 0 / 252.7 MB, free: 5.543 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001254/0.007998, allocations: 39.88 kB / 252.8 MB, free: 5.504 MB / 250.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.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/0.009097, allocations: 0.5517 MB / 253.3 MB, free: 5.176 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.225e-05/0.009179, allocations: 44.78 kB / 253.4 MB, free: 5.129 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.009186, allocations: 4 kB / 253.4 MB, free: 5.125 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.602e-05/0.009212, allocations: 20.84 kB / 253.4 MB, free: 5.102 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.009397, allocations: 80.8 kB / 253.5 MB, free: 5.023 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/0.009823, allocations: 321 kB / 253.8 MB, free: 4.672 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.907e-05/0.009862, allocations: 83.98 kB / 253.9 MB, free: 4.57 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.65e-05/0.009899, allocations: 17.47 kB / 253.9 MB, free: 4.555 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.009973, allocations: 79.36 kB / 254 MB, free: 4.477 MB / 250.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009973, allocations: 0 / 254 MB, free: 4.477 MB / 250.7 MB Notification: Performance of Templates: time 0.004158/0.01413, allocations: 2.985 MB / 257 MB, free: 1.531 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6049685133621097]