Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.00108/0.00108, allocations: 88.86 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0009958/0.0009958, allocations: 162 kB / 24.91 MB, free: 8.766 MB / 18.57 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 0.9519/0.9519, allocations: 177 MB / 205.2 MB, free: 5.434 MB / 186.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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.292e-05, allocations: 2.312 kB / 273.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.002485/0.002507, allocations: 1.97 MB / 275.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.003937, allocations: 1.285 MB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.563e-05/0.004033, allocations: 0 / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.004281, allocations: 71.55 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.004544, allocations: 135.4 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.004959, allocations: 231.1 kB / 277.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.005137, allocations: 195.4 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.588e-05/0.005212, allocations: 22.41 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.005322, allocations: 111.6 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.745e-05/0.0054, allocations: 67.78 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.005416, allocations: 12 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.00552, allocations: 63.95 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.005577, allocations: 59.77 kB / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.005613, allocations: 35.86 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.00582, allocations: 203.2 kB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005822, allocations: 0 / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005823, allocations: 0 / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.005826, allocations: 0 / 277.8 MB, free: 12.76 MB / 266.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.0004033/0.006229, allocations: 465 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.006256, allocations: 11.98 kB / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.00629, allocations: 16.92 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.006476, allocations: 204.8 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.006491, allocations: 12.36 kB / 278.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.006502, allocations: 8.375 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.006681, allocations: 158.7 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.006687, allocations: 192 / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.006695, allocations: 4.375 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.006701, allocations: 7.938 kB / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.518e-05/0.006736, allocations: 22.75 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002621/0.006998, allocations: 291.8 kB / 279 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.00711, allocations: 155.9 kB / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.007144, allocations: 47.41 kB / 279.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.007156, allocations: 0 / 279.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.252e-05/0.007238, allocations: 91.8 kB / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 6.51e-07/0.007239, allocations: 0 / 279.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001321/0.007371, allocations: 96.42 kB / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.007422, allocations: 136.5 kB / 279.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.007569, allocations: 268.6 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.007588, allocations: 29.7 kB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.007629, allocations: 108.9 kB / 279.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.007648, allocations: 19.83 kB / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.00768, allocations: 33.64 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.072e-05/0.00775, allocations: 330.8 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.007766, allocations: 15.2 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.435e-05/0.007801, allocations: 61.11 kB / 280.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.888e-05/0.00785, allocations: 56.41 kB / 280.4 MB, free: 9.871 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.007851, allocations: 0 / 280.4 MB, free: 9.871 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.084e-05/0.007922, allocations: 68.44 kB / 280.5 MB, free: 9.797 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.007934, allocations: 15.05 kB / 280.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.007938, allocations: 4 kB / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.007946, allocations: 96 / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.527e-05/0.008001, allocations: 27.88 kB / 280.5 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.008004, allocations: 0 / 280.5 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.008039, allocations: 7.984 kB / 280.5 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.008043, allocations: 0 / 280.5 MB, free: 9.746 MB / 266.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 6.36e-05/0.008107, allocations: 124.6 kB / 280.6 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.008146, allocations: 57.55 kB / 280.7 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.579e-05/0.008231, allocations: 87.44 kB / 280.8 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.008235, allocations: 4 kB / 280.8 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.008236, allocations: 4.062 kB / 280.8 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.008241, allocations: 7.984 kB / 280.8 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.979e-05/0.008331, allocations: 117.7 kB / 280.9 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008332, allocations: 4 kB / 280.9 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.008369, allocations: 19.94 kB / 280.9 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.008371, allocations: 0 / 280.9 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.008378, allocations: 7.984 kB / 281 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.00838, allocations: 3.938 kB / 281 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.008382, allocations: 4 kB / 281 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.865e-05/0.00846, allocations: 121.2 kB / 281.1 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.008502, allocations: 31.91 kB / 281.1 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.008522, allocations: 8 kB / 281.1 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.894e-05/0.008551, allocations: 7.938 kB / 281.1 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.008581, allocations: 11.98 kB / 281.1 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.008591, allocations: 4 kB / 281.1 MB, free: 9.055 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.975e-05/0.008661, allocations: 103.5 kB / 281.2 MB, free: 8.953 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008661, allocations: 0 / 281.2 MB, free: 8.953 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001365/0.008798, allocations: 35.92 kB / 281.3 MB, free: 8.918 MB / 266.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.001012/0.009809, allocations: 0.503 MB / 281.8 MB, free: 8.598 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.267e-05/0.009902, allocations: 48.7 kB / 281.8 MB, free: 8.547 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.009906, allocations: 4 kB / 281.8 MB, free: 8.543 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.381e-05/0.00994, allocations: 32.78 kB / 281.9 MB, free: 8.508 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.01012, allocations: 68.75 kB / 281.9 MB, free: 8.445 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.01046, allocations: 357 kB / 282.3 MB, free: 8.059 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.383e-05/0.0105, allocations: 83.97 kB / 282.4 MB, free: 7.957 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.19e-05/0.01054, allocations: 25.62 kB / 282.4 MB, free: 7.934 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.403e-05/0.01063, allocations: 87.34 kB / 282.5 MB, free: 7.848 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01063, allocations: 0 / 282.5 MB, free: 7.848 MB / 266.7 MB Notification: Performance of Templates: time 0.004509/0.01514, allocations: 3.268 MB / 285.7 MB, free: 4.625 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.780732781626284]