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.001225/0.001225, allocations: 80.11 kB / 9.937 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001648/0.002873, allocations: 445.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.001088/0.001088, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002469, 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 0.9822/0.9822, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09444/1.077, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.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.463e-06/1.463e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.459e-05, allocations: 2.312 kB / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002648/0.002662, allocations: 2.011 MB / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.004413, allocations: 1.315 MB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.004521, allocations: 7.938 kB / 248.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.004729, allocations: 67.61 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.004961, allocations: 135.4 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.005417, allocations: 238.1 kB / 248.8 MB, free: 9.879 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.005625, allocations: 195.4 kB / 249 MB, free: 9.688 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.422e-05/0.005719, allocations: 22.45 kB / 249 MB, free: 9.668 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.005877, allocations: 136.5 kB / 249.1 MB, free: 9.535 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.403e-05/0.005971, allocations: 75.78 kB / 249.2 MB, free: 9.461 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.005989, allocations: 11.94 kB / 249.2 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.006122, allocations: 79.81 kB / 249.3 MB, free: 9.371 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.006179, allocations: 43.86 kB / 249.3 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.00622, allocations: 31.88 kB / 249.3 MB, free: 9.297 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.006433, allocations: 179.2 kB / 249.5 MB, free: 9.121 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.452e-05/0.006448, allocations: 0 / 249.5 MB, free: 9.121 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006448, allocations: 4 kB / 249.5 MB, free: 9.117 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.006464, allocations: 0 / 249.5 MB, free: 9.117 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.0005189/0.006983, allocations: 496.6 kB / 250 MB, free: 8.602 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.007011, allocations: 8.031 kB / 250 MB, free: 8.594 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.007049, allocations: 28.91 kB / 250 MB, free: 8.566 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.007259, allocations: 217.8 kB / 250.3 MB, free: 8.324 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.007274, allocations: 4.375 kB / 250.3 MB, free: 8.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.007286, allocations: 8.375 kB / 250.3 MB, free: 8.312 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.007484, allocations: 165.7 kB / 250.4 MB, free: 8.125 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.007491, allocations: 4 kB / 250.4 MB, free: 8.121 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.007501, allocations: 4 kB / 250.4 MB, free: 8.117 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.007506, allocations: 3.938 kB / 250.4 MB, free: 8.113 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.705e-05/0.007543, allocations: 22.75 kB / 250.5 MB, free: 8.09 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.00778, allocations: 220.4 kB / 250.7 MB, free: 7.848 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.007905, allocations: 156 kB / 250.8 MB, free: 7.656 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.699e-05/0.007942, allocations: 47.36 kB / 250.9 MB, free: 7.598 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.007962, allocations: 0 / 250.9 MB, free: 7.598 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.858e-05/0.00806, allocations: 82.12 kB / 251 MB, free: 7.504 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.008061, allocations: 0 / 251 MB, free: 7.504 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001517/0.008213, allocations: 93.53 kB / 251.1 MB, free: 7.406 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.008269, allocations: 140.5 kB / 251.2 MB, free: 7.238 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.008419, allocations: 265 kB / 251.5 MB, free: 6.969 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.008435, allocations: 37.7 kB / 251.5 MB, free: 6.926 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.008476, allocations: 108.8 kB / 251.6 MB, free: 6.812 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.008494, allocations: 19.83 kB / 251.6 MB, free: 6.793 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.008526, allocations: 29.69 kB / 251.6 MB, free: 6.758 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.05e-05/0.008606, allocations: 330.8 kB / 252 MB, free: 6.426 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.00862, allocations: 10.83 kB / 252 MB, free: 6.414 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.414e-05/0.008654, allocations: 56.27 kB / 252 MB, free: 6.344 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.188e-05/0.008696, allocations: 39.34 kB / 252.1 MB, free: 6.297 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.008699, allocations: 0 / 252.1 MB, free: 6.297 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.149e-05/0.00877, allocations: 72.41 kB / 252.1 MB, free: 6.219 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.008782, allocations: 11.98 kB / 252.2 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.008787, allocations: 0 / 252.2 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/0.008795, allocations: 0 / 252.2 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.481e-05/0.00886, allocations: 16 kB / 252.2 MB, free: 6.191 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.008863, allocations: 0 / 252.2 MB, free: 6.191 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.008895, allocations: 7.984 kB / 252.2 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.008901, allocations: 4 kB / 252.2 MB, free: 6.18 MB / 250.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 6.493e-05/0.008966, allocations: 120.6 kB / 252.3 MB, free: 6.051 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.009011, allocations: 69.88 kB / 252.4 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.935e-05/0.009111, allocations: 83.41 kB / 252.4 MB, free: 5.887 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.009113, allocations: 4 kB / 252.5 MB, free: 5.883 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.009116, allocations: 4 kB / 252.5 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.009119, allocations: 0 / 252.5 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.176e-05/0.009211, allocations: 117.8 kB / 252.6 MB, free: 5.746 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.009213, allocations: 4 kB / 252.6 MB, free: 5.742 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.009258, allocations: 19.92 kB / 252.6 MB, free: 5.723 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/0.009298, allocations: 39.7 kB / 252.6 MB, free: 5.684 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.0093, allocations: 8.094 kB / 252.6 MB, free: 5.676 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.009307, allocations: 4 kB / 252.6 MB, free: 5.672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.009309, allocations: 4 kB / 252.6 MB, free: 5.668 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.00931, allocations: 0 / 252.6 MB, free: 5.668 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.662e-05/0.009386, allocations: 113.3 kB / 252.8 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.009406, allocations: 7.938 kB / 252.8 MB, free: 5.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.008e-05/0.009436, allocations: 4 kB / 252.8 MB, free: 5.516 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.009469, allocations: 11.98 kB / 252.8 MB, free: 5.504 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.00948, allocations: 7.984 kB / 252.8 MB, free: 5.496 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.355e-05/0.009554, allocations: 107.5 kB / 252.9 MB, free: 5.387 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009554, allocations: 4 kB / 252.9 MB, free: 5.383 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001357/0.009689, allocations: 35.94 kB / 252.9 MB, free: 5.348 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,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.001175/0.01086, allocations: 0.5489 MB / 253.5 MB, free: 5.02 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.599e-05/0.01095, allocations: 36.78 kB / 253.5 MB, free: 4.98 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/0.01096, allocations: 7.938 kB / 253.5 MB, free: 4.973 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.515e-05/0.01099, allocations: 40.83 kB / 253.6 MB, free: 4.93 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.01119, allocations: 72.92 kB / 253.6 MB, free: 4.859 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004645/0.01166, allocations: 368.3 kB / 254 MB, free: 4.465 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.707e-05/0.01171, allocations: 87.97 kB / 254.1 MB, free: 4.359 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.565e-05/0.01175, allocations: 25.91 kB / 254.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.839e-05/0.01184, allocations: 91.62 kB / 254.2 MB, free: 4.242 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01184, allocations: 0 / 254.2 MB, free: 4.242 MB / 250.7 MB Notification: Performance of Templates: time 0.005855/0.0177, allocations: 3.5 MB / 257.7 MB, free: 0.8047 MB / 250.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 -ignoreHideResult -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.5693304874002934]