Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 88.64 kB / 20.95 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 149.1 kB / 24.25 MB, free: 292 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 173.4 MB / 200.8 MB, free: 9.082 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 267.3 MB, free: 6.574 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.872e-05, allocations: 2.312 kB / 267.3 MB, free: 6.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003575/0.003603, allocations: 1.886 MB / 269.2 MB, free: 4.668 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.00606, allocations: 1.11 MB / 270.3 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.006171, allocations: 7.875 kB / 270.3 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.006487, allocations: 71.59 kB / 270.4 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.00681, allocations: 99.52 kB / 270.5 MB, free: 3.375 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007448/0.007554, allocations: 259 kB / 270.7 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000287/0.007841, allocations: 187.4 kB / 270.9 MB, free: 2.938 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.007951, allocations: 25.78 kB / 270.9 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.008124, allocations: 103.7 kB / 271 MB, free: 2.809 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.008258, allocations: 71.8 kB / 271.1 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.008287, allocations: 8 kB / 271.1 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.008454, allocations: 79.81 kB / 271.2 MB, free: 2.652 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.434e-05/0.008549, allocations: 55.77 kB / 271.3 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.008631, allocations: 43.84 kB / 271.3 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.009032, allocations: 239.2 kB / 271.5 MB, free: 2.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.009035, allocations: 4 kB / 271.5 MB, free: 2.316 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.009036, allocations: 3.938 kB / 271.5 MB, free: 2.312 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.00904, allocations: 0 / 271.5 MB, free: 2.312 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.000805/0.009845, allocations: 490.4 kB / 272 MB, free: 1.797 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.009878, allocations: 11.97 kB / 272 MB, free: 1.785 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.875e-05/0.009967, allocations: 28.8 kB / 272.1 MB, free: 1.758 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.01042, allocations: 240.7 kB / 272.3 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.01044, allocations: 8.359 kB / 272.3 MB, free: 1.488 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.01046, allocations: 8.375 kB / 272.3 MB, free: 1.48 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004407/0.0109, allocations: 205.4 kB / 272.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.01091, allocations: 3.938 kB / 272.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.01093, allocations: 4 kB / 272.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.01093, allocations: 0 / 272.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.01108, allocations: 43.92 kB / 272.6 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.01166, allocations: 326.9 kB / 272.9 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.01199, allocations: 146.4 kB / 273 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.01212, allocations: 59.42 kB / 273.1 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.01215, allocations: 4 kB / 273.1 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.01235, allocations: 83.31 kB / 273.2 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.01235, allocations: 0 / 273.2 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005018/0.01285, allocations: 169.4 kB / 273.3 MB, free: 328 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.01299, allocations: 174.1 kB / 273.5 MB, free: 116 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000444/0.01343, allocations: 334.2 kB / 273.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.01346, allocations: 37.64 kB / 273.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.01359, allocations: 120.4 kB / 274 MB, free: 15.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.01361, allocations: 19.89 kB / 274 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.427e-05/0.01368, allocations: 33.7 kB / 274 MB, free: 15.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.01387, allocations: 330.8 kB / 274.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.01395, allocations: 19.98 kB / 274.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.01411, allocations: 114.8 kB / 274.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.01428, allocations: 65.58 kB / 274.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01428, allocations: 256 / 274.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002647/0.01454, allocations: 121.5 kB / 274.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.01456, allocations: 6.812 kB / 274.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.01456, allocations: 4 kB / 274.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.01458, allocations: 0 / 274.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.955e-05/0.01468, allocations: 11.98 kB / 274.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.01468, allocations: 4 kB / 274.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.409e-05/0.01476, allocations: 7.938 kB / 274.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.01476, allocations: 0 / 274.7 MB, free: 14.84 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001739/0.01494, allocations: 157.8 kB / 274.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.01507, allocations: 85.48 kB / 274.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.0154, allocations: 127.4 kB / 275.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.01541, allocations: 7.984 kB / 275.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.01541, allocations: 0 / 275.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.01542, allocations: 7.984 kB / 275.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.01565, allocations: 177.3 kB / 275.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01565, allocations: 0 / 275.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.963e-05/0.01574, allocations: 15.98 kB / 275.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.01575, allocations: 4 kB / 275.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.01576, allocations: 4.094 kB / 275.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.01576, allocations: 4 kB / 275.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.01577, allocations: 3.938 kB / 275.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.01613, allocations: 199.3 kB / 275.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.01623, allocations: 35.84 kB / 275.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.01626, allocations: 11.98 kB / 275.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.01635, allocations: 4 kB / 275.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.01641, allocations: 11.98 kB / 275.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.01642, allocations: 4 kB / 275.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002981/0.01672, allocations: 249.2 kB / 275.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01672, allocations: 0 / 275.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002779/0.017, allocations: 39.89 kB / 275.8 MB, free: 13.63 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,backSample1.y,shiftSample1.y,backSample1.u,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.002047/0.01905, allocations: 468.8 kB / 276.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.01931, allocations: 63.91 kB / 276.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01932, allocations: 0 / 276.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.913e-05/0.01941, allocations: 31.98 kB / 276.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.01992, allocations: 98.52 kB / 276.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007795/0.0207, allocations: 390.9 kB / 276.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.02088, allocations: 136.2 kB / 277 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.952e-05/0.02096, allocations: 25.77 kB / 277 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.02104, allocations: 28.48 kB / 277 MB, free: 12.53 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02104, allocations: 0 / 277 MB, free: 12.53 MB / 266.7 MB Notification: Performance of Templates: time 0.008685/0.02972, allocations: 3.202 MB / 280.2 MB, free: 9.383 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.408016652916558]