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.0009818/0.0009818, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001146/0.001146, allocations: 164.9 kB / 24.99 MB, free: 8.219 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.9863/0.9863, allocations: 177 MB / 205.2 MB, free: 5.531 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.202e-06/1.202e-06, allocations: 0 / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.784e-05, allocations: 9.406 kB / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.002501/0.002519, allocations: 1.959 MB / 275 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.004063, allocations: 1.265 MB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.004192, allocations: 7.938 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.00451, allocations: 63.61 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.004807, allocations: 139.4 kB / 276.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.005245, allocations: 235 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.005484, allocations: 183.5 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.005588, allocations: 25.73 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.005714, allocations: 107.7 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.96e-05/0.005813, allocations: 79.78 kB / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.005833, allocations: 8 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.005956, allocations: 71.92 kB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.006027, allocations: 51.84 kB / 277.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.006079, allocations: 47.78 kB / 277.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.00632, allocations: 191.2 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.006322, allocations: 0 / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.006323, allocations: 0 / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.006328, allocations: 0 / 277.4 MB, free: 13.27 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.0005392/0.006867, allocations: 0.5866 MB / 278 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.006901, allocations: 15.98 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.006959, allocations: 32.75 kB / 278 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.007193, allocations: 227.6 kB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.007211, allocations: 8.375 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.007224, allocations: 4.375 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.007505, allocations: 206.3 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.007511, allocations: 4.188 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.007521, allocations: 384 / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.007529, allocations: 7.938 kB / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.609e-05/0.007585, allocations: 35.89 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.007984, allocations: 493.9 kB / 279 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.008134, allocations: 148.5 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.008189, allocations: 58.73 kB / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.008214, allocations: 7.922 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.008369, allocations: 96.36 kB / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.00837, allocations: 0 / 279.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002397/0.00861, allocations: 145.4 kB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.008674, allocations: 162.2 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.008891, allocations: 326.7 kB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.008907, allocations: 37.64 kB / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/0.008986, allocations: 183.1 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.009008, allocations: 19.83 kB / 280.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.009047, allocations: 39.36 kB / 280.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.009171, allocations: 0.504 MB / 280.7 MB, free: 9.625 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.57e-05/0.009197, allocations: 7.984 kB / 280.7 MB, free: 9.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.806e-05/0.009255, allocations: 109.8 kB / 280.8 MB, free: 9.477 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.256e-05/0.009328, allocations: 55 kB / 280.9 MB, free: 9.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.00933, allocations: 4.031 kB / 280.9 MB, free: 9.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001145/0.009444, allocations: 109.7 kB / 281 MB, free: 9.293 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.009455, allocations: 4 kB / 281 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.009459, allocations: 0 / 281 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.009471, allocations: 4 kB / 281 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.024e-05/0.009541, allocations: 12 kB / 281 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.009548, allocations: 3.984 kB / 281 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.907e-05/0.009587, allocations: 4 kB / 281 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.009593, allocations: 4 kB / 281 MB, free: 9.262 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 8.174e-05/0.009675, allocations: 172.5 kB / 281.2 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-05/0.009735, allocations: 85.42 kB / 281.3 MB, free: 8.992 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.009872, allocations: 111.5 kB / 281.4 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.009874, allocations: 0 / 281.4 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.009878, allocations: 0 / 281.4 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.009882, allocations: 4 kB / 281.4 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.01003, allocations: 192.5 kB / 281.6 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01003, allocations: 0 / 281.6 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.267e-05/0.01007, allocations: 19.98 kB / 281.6 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01008, allocations: 8 kB / 281.6 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.01009, allocations: 8 kB / 281.6 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01009, allocations: 3.938 kB / 281.6 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01009, allocations: 3.938 kB / 281.6 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.01025, allocations: 191.3 kB / 281.8 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.0103, allocations: 35.78 kB / 281.8 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.01032, allocations: 8 kB / 281.8 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.448e-05/0.01036, allocations: 3.984 kB / 281.8 MB, free: 8.332 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.0104, allocations: 11.98 kB / 281.9 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.01041, allocations: 8 kB / 281.9 MB, free: 8.312 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.01055, allocations: 234.9 kB / 282.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01055, allocations: 0 / 282.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.01072, allocations: 31.94 kB / 282.1 MB, free: 8.055 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.0008497/0.01157, allocations: 405.7 kB / 282.5 MB, free: 7.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.01171, allocations: 59.59 kB / 282.6 MB, free: 7.707 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01171, allocations: 0 / 282.6 MB, free: 7.707 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.76e-05/0.01175, allocations: 39.59 kB / 282.6 MB, free: 7.664 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.01202, allocations: 73.11 kB / 282.7 MB, free: 7.594 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.01244, allocations: 369.5 kB / 283.1 MB, free: 7.195 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.968e-05/0.01249, allocations: 87.97 kB / 283.1 MB, free: 7.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.534e-05/0.01255, allocations: 25.61 kB / 283.2 MB, free: 7.062 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.01259, allocations: 24.5 kB / 283.2 MB, free: 7.039 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01259, allocations: 0 / 283.2 MB, free: 7.039 MB / 266.7 MB Notification: Performance of Templates: time 0.005131/0.01772, allocations: 3.096 MB / 286.3 MB, free: 3.977 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.9660111339762807]