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.001181/0.001181, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009899/0.0009899, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.089/1.089, allocations: 177 MB / 204.8 MB, free: 5.566 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.163e-06/1.163e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.383e-05, allocations: 9.203 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002433/0.002457, allocations: 1.955 MB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.004324, allocations: 1.289 MB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.004453, allocations: 3.938 kB / 276.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.004775, allocations: 71.55 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.005124, allocations: 143.3 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.005689, allocations: 235 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.00593, allocations: 191.4 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.006031, allocations: 25.73 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.006158, allocations: 111.6 kB / 276.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.006261, allocations: 71.8 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.006285, allocations: 16 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.006426, allocations: 67.94 kB / 277.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.266e-05/0.006499, allocations: 51.83 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.006554, allocations: 47.78 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.006823, allocations: 207.1 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.006827, allocations: 0 / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006828, allocations: 0 / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.006832, allocations: 4 kB / 277.4 MB, free: 12.94 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.0005763/0.007408, allocations: 0.5672 MB / 277.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.007443, allocations: 11.98 kB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.007507, allocations: 36.78 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.007763, allocations: 248.5 kB / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.007782, allocations: 4.375 kB / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.007797, allocations: 8.375 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.008082, allocations: 168.9 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.008091, allocations: 4.188 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.008104, allocations: 12.36 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.008112, allocations: 3.938 kB / 278.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.661e-05/0.008168, allocations: 27.91 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.008552, allocations: 382.7 kB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.008708, allocations: 140.5 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.008761, allocations: 58.73 kB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.008783, allocations: 15.86 kB / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.00889, allocations: 73.05 kB / 279.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.793e-06/0.008892, allocations: 0 / 279.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002462/0.009138, allocations: 141.3 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.009192, allocations: 132.5 kB / 279.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.009406, allocations: 338.3 kB / 279.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.009423, allocations: 34.08 kB / 279.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.737e-05/0.009501, allocations: 183.1 kB / 279.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.009523, allocations: 19.83 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.009563, allocations: 39.31 kB / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.009686, allocations: 0.504 MB / 280.5 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.448e-05/0.00971, allocations: 7.984 kB / 280.5 MB, free: 9.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.726e-05/0.009757, allocations: 64.77 kB / 280.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.385e-05/0.009821, allocations: 47.61 kB / 280.6 MB, free: 9.363 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.009823, allocations: 3.938 kB / 280.6 MB, free: 9.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001029/0.009926, allocations: 97.45 kB / 280.7 MB, free: 9.258 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.009939, allocations: 4 kB / 280.7 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.009942, allocations: 0 / 280.7 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.009953, allocations: 0 / 280.7 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.005e-05/0.01002, allocations: 15.98 kB / 280.7 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.01003, allocations: 0 / 280.7 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.644e-05/0.01006, allocations: 7.938 kB / 280.7 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.01007, allocations: 8 kB / 280.7 MB, free: 9.223 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.799e-05/0.01015, allocations: 164.6 kB / 280.9 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.62e-05/0.01022, allocations: 85.48 kB / 281 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.01036, allocations: 103.7 kB / 281.1 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01036, allocations: 4 kB / 281.1 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.01036, allocations: 0 / 281.1 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01037, allocations: 0 / 281.1 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.01051, allocations: 204.5 kB / 281.3 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01051, allocations: 0 / 281.3 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.949e-05/0.01056, allocations: 15.94 kB / 281.3 MB, free: 8.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.01056, allocations: 7.938 kB / 281.3 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.01057, allocations: 3.984 kB / 281.3 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.01058, allocations: 8.062 kB / 281.3 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.01058, allocations: 0 / 281.3 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.01074, allocations: 187.2 kB / 281.5 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.01079, allocations: 47.83 kB / 281.6 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.01081, allocations: 4 kB / 281.6 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.739e-05/0.01085, allocations: 8 kB / 281.6 MB, free: 8.301 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.01089, allocations: 7.984 kB / 281.6 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.01091, allocations: 11.97 kB / 281.6 MB, free: 8.281 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001305/0.01104, allocations: 235 kB / 281.8 MB, free: 8.051 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01104, allocations: 0 / 281.8 MB, free: 8.051 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001752/0.01121, allocations: 39.89 kB / 281.9 MB, free: 8.012 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.0009666/0.01218, allocations: 401.2 kB / 282.2 MB, free: 7.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.01234, allocations: 55.59 kB / 282.3 MB, free: 7.672 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.01234, allocations: 4 kB / 282.3 MB, free: 7.668 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.384e-05/0.0124, allocations: 31.61 kB / 282.3 MB, free: 7.633 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.01277, allocations: 75.64 kB / 282.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000741/0.01351, allocations: 368.8 kB / 282.8 MB, free: 7.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.805e-05/0.01357, allocations: 83.97 kB / 282.9 MB, free: 7.059 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.766e-05/0.01364, allocations: 30.11 kB / 282.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.01369, allocations: 32.44 kB / 282.9 MB, free: 7 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01369, allocations: 0 / 282.9 MB, free: 7 MB / 266.7 MB Notification: Performance of Templates: time 0.006367/0.02006, allocations: 3.385 MB / 286.3 MB, free: 3.664 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: 3.0229240590706468]