Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.001147/0.001147, 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.00431/0.00431, allocations: 159.5 kB / 24.99 MB, free: 8.746 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.9565/0.9565, allocations: 177 MB / 205.2 MB, free: 5.582 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.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.214e-05, allocations: 9.406 kB / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002137/0.002159, allocations: 1.63 MB / 274.6 MB, free: 84 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007596/0.002918, allocations: 0.5453 MB / 275.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.762e-05/0.003006, allocations: 3.938 kB / 275.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.187e-05/0.003058, allocations: 3.938 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.003211, allocations: 11.88 kB / 275.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.003531, allocations: 67.61 kB / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.00365, allocations: 43.86 kB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.003762, allocations: 16.16 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.003896, allocations: 35.84 kB / 275.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/0.003951, allocations: 23.92 kB / 275.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.00397, allocations: 4 kB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.191e-05/0.004012, allocations: 7.984 kB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.647e-05/0.004059, allocations: 11.94 kB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.004083, allocations: 15.92 kB / 275.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.004205, allocations: 43.83 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004207, allocations: 0 / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004208, allocations: 0 / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.004212, allocations: 0 / 275.5 MB, free: 15.25 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000374/0.004586, allocations: 408.2 kB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.00462, allocations: 15.98 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.004733, allocations: 24.81 kB / 275.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.004901, allocations: 160.9 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.004909, allocations: 384 / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.004918, allocations: 4.375 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.005144, allocations: 141 kB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.005151, allocations: 4 kB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.005159, allocations: 0 / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.005166, allocations: 0 / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.297e-05/0.005189, allocations: 7.938 kB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002639/0.005453, allocations: 279.2 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.481e-05/0.005527, allocations: 93.11 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.265e-05/0.00556, allocations: 27.19 kB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.005581, allocations: 7.938 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.005604, allocations: 49.38 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.005605, allocations: 0 / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001619/0.005767, allocations: 61.58 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.005822, allocations: 106.8 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.005937, allocations: 197.3 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.005952, allocations: 25.7 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.006015, allocations: 142.9 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.006031, allocations: 0 / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.006063, allocations: 23.7 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.006192, allocations: 0.4961 MB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.006209, allocations: 4 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-06/0.006217, allocations: 0 / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.47e-05/0.006241, allocations: 7.688 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.006245, allocations: 4 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.371e-05/0.006299, allocations: 33.64 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.006315, allocations: 10.97 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.00632, allocations: 0 / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.006336, allocations: 0 / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.066e-05/0.006396, allocations: 8.078 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.006404, allocations: 7.938 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.459e-05/0.006419, allocations: 0 / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.006426, allocations: 0 / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.584e-05/0.006511, allocations: 160.5 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.006564, allocations: 57.58 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.006598, allocations: 7.969 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.0066, allocations: 0 / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.006605, allocations: 0 / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.006609, allocations: 0 / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.006726, allocations: 148.5 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006727, allocations: 0 / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.00676, allocations: 8 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.006761, allocations: 0 / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.006774, allocations: 11.98 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.006775, allocations: 0 / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006776, allocations: 0 / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.006902, allocations: 223.1 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.006938, allocations: 27.88 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.006953, allocations: 0 / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.108e-05/0.006984, allocations: 4 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.00702, allocations: 4 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.007024, allocations: 0 / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.273e-05/0.007076, allocations: 147.2 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007077, allocations: 0 / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001412/0.007218, allocations: 8 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 6.862e-05/0.007286, allocations: 95.25 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.302e-05/0.007359, allocations: 19.61 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.007361, allocations: 4 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/0.007373, allocations: 11.75 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.007629, allocations: 32.8 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.008064, allocations: 184.3 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.172e-05/0.008106, allocations: 59.34 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.027e-05/0.008126, allocations: 4 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.008154, allocations: 12.75 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.008155, allocations: 0 / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of Templates: time 0.002204/0.01036, allocations: 0.6978 MB / 279.7 MB, free: 10.61 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.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.849153188057244]