Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.001002/0.001002, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001256/0.001256, allocations: 172.4 kB / 24.82 MB, free: 9.273 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 1.071/1.071, allocations: 177 MB / 205.1 MB, free: 5.473 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.394e-05, allocations: 2.312 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002469/0.002493, allocations: 1.955 MB / 275.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.003864, allocations: 1.261 MB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.003965, allocations: 7.938 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.004223, allocations: 67.61 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.004502, allocations: 143.2 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.004941, allocations: 227.2 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.00513, allocations: 199.3 kB / 277.2 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.832e-05/0.005219, allocations: 25.73 kB / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.00534, allocations: 115.6 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.157e-05/0.005432, allocations: 75.78 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.005451, allocations: 8 kB / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.005568, allocations: 71.94 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.005626, allocations: 55.78 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.005668, allocations: 43.84 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.005881, allocations: 191.2 kB / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005883, allocations: 0 / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.005884, allocations: 0 / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.005888, allocations: 0 / 277.7 MB, free: 12.78 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.0004518/0.006339, allocations: 0.5826 MB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.006371, allocations: 15.98 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.006412, allocations: 28.8 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.00662, allocations: 244.6 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.006635, allocations: 8.375 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.006645, allocations: 4.375 kB / 278.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.006843, allocations: 175.5 kB / 278.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.006849, allocations: 192 / 278.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.006859, allocations: 12.38 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.006863, allocations: 7.938 kB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.792e-05/0.006901, allocations: 23.91 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.00718, allocations: 331.4 kB / 279.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.007301, allocations: 144.4 kB / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.859e-05/0.007339, allocations: 50.72 kB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.007357, allocations: 11.98 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.209e-05/0.007439, allocations: 76.92 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.00744, allocations: 0 / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001957/0.007636, allocations: 133.3 kB / 279.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.007683, allocations: 136.5 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.007857, allocations: 326.2 kB / 280 MB, free: 10.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.007872, allocations: 34.08 kB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/0.007948, allocations: 191 kB / 280.2 MB, free: 9.992 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.007968, allocations: 19.81 kB / 280.3 MB, free: 9.973 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.008004, allocations: 39.31 kB / 280.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.008119, allocations: 0.5079 MB / 280.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.008134, allocations: 4 kB / 280.8 MB, free: 9.402 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.784e-05/0.008172, allocations: 64.73 kB / 280.9 MB, free: 9.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.453e-05/0.008216, allocations: 43.3 kB / 280.9 MB, free: 9.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.008218, allocations: 0 / 280.9 MB, free: 9.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.805e-05/0.008306, allocations: 89.42 kB / 281 MB, free: 9.176 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.008317, allocations: 11.19 kB / 281 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.008321, allocations: 4 kB / 281 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.008329, allocations: 0 / 281 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.677e-05/0.008386, allocations: 11.98 kB / 281 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.00839, allocations: 4 kB / 281 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.645e-05/0.008426, allocations: 320 / 281 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.008432, allocations: 4 kB / 281 MB, free: 9.145 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 7.045e-05/0.008503, allocations: 164.6 kB / 281.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.008564, allocations: 81.48 kB / 281.3 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.008682, allocations: 111.6 kB / 281.4 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.008684, allocations: 0 / 281.4 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.008686, allocations: 4 kB / 281.4 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.00869, allocations: 3.984 kB / 281.4 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.008799, allocations: 157.1 kB / 281.5 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.008803, allocations: 4 kB / 281.5 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.008843, allocations: 12 kB / 281.6 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.008845, allocations: 0 / 281.6 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.008854, allocations: 11.98 kB / 281.6 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.008857, allocations: 7.875 kB / 281.6 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.008859, allocations: 8 kB / 281.6 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.008972, allocations: 159.3 kB / 281.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.009018, allocations: 35.83 kB / 281.8 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.009037, allocations: 4 kB / 281.8 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.537e-05/0.009072, allocations: 11.92 kB / 281.8 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.009103, allocations: 11.98 kB / 281.8 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.009114, allocations: 7.938 kB / 281.8 MB, free: 8.277 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.701e-05/0.009211, allocations: 218.9 kB / 282 MB, free: 8.062 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009211, allocations: 0 / 282 MB, free: 8.062 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.009373, allocations: 35.94 kB / 282.1 MB, free: 8.027 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.000778/0.01015, allocations: 399.2 kB / 282.5 MB, free: 7.746 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.432e-05/0.01025, allocations: 55.58 kB / 282.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01025, allocations: 0 / 282.5 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.224e-05/0.01028, allocations: 23.67 kB / 282.5 MB, free: 7.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.01054, allocations: 88.84 kB / 282.6 MB, free: 7.578 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.01091, allocations: 368.8 kB / 283 MB, free: 7.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.531e-05/0.01096, allocations: 79.97 kB / 283.1 MB, free: 7.082 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.406e-05/0.011, allocations: 30.12 kB / 283.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.587e-05/0.0111, allocations: 110.2 kB / 283.2 MB, free: 6.945 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0111, allocations: 0 / 283.2 MB, free: 6.945 MB / 266.7 MB Notification: Performance of Templates: time 0.004775/0.01587, allocations: 3.446 MB / 286.6 MB, free: 3.555 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.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.8962689391337335]