Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001102/0.001102, 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.001244/0.001244, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.02/1.02, allocations: 177 MB / 205.2 MB, free: 5.523 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.782e-05, allocations: 2.312 kB / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.002719/0.002747, allocations: 1.939 MB / 274.9 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.004462, allocations: 1.25 MB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.004601, allocations: 4 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.004932, allocations: 63.67 kB / 276.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.005297, allocations: 139.3 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.005887, allocations: 227.1 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000295/0.006182, allocations: 187.5 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.006291, allocations: 25.78 kB / 276.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.006421, allocations: 99.72 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.006531, allocations: 67.8 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.006554, allocations: 12 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.006699, allocations: 71.88 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.767e-05/0.006777, allocations: 55.77 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.391e-05/0.006831, allocations: 39.86 kB / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.007122, allocations: 187.2 kB / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.007126, allocations: 0 / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.007127, allocations: 0 / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.007132, allocations: 4 kB / 277.3 MB, free: 13.34 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006095/0.007742, allocations: 0.5788 MB / 277.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.007782, allocations: 15.98 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.007857, allocations: 28.8 kB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.008141, allocations: 219.6 kB / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.008161, allocations: 8.312 kB / 278.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.008176, allocations: 12.36 kB / 278.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.008469, allocations: 186.7 kB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.008477, allocations: 192 / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.008491, allocations: 8.359 kB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.008499, allocations: 3.938 kB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.517e-05/0.008555, allocations: 27.91 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.008964, allocations: 367 kB / 278.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.009111, allocations: 117.3 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.679e-05/0.009157, allocations: 43.05 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.009177, allocations: 15.81 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.009289, allocations: 69.05 kB / 279 MB, free: 11.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.00929, allocations: 0 / 279 MB, free: 11.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002478/0.009538, allocations: 125.5 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.009603, allocations: 136.5 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.009834, allocations: 328.6 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.009853, allocations: 25.7 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.009944, allocations: 186.8 kB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.009969, allocations: 11.91 kB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.01001, allocations: 35.36 kB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.01015, allocations: 0.504 MB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.03e-05/0.01018, allocations: 11.98 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.758e-05/0.01023, allocations: 102.1 kB / 280.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.937e-05/0.01029, allocations: 43.31 kB / 280.5 MB, free: 9.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.0103, allocations: 32 / 280.5 MB, free: 9.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001044/0.0104, allocations: 93.73 kB / 280.6 MB, free: 9.742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.01041, allocations: 11.98 kB / 280.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.01042, allocations: 0 / 280.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.01043, allocations: 3.984 kB / 280.6 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.203e-05/0.01051, allocations: 15.94 kB / 280.6 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.01052, allocations: 0 / 280.6 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.121e-05/0.01056, allocations: 7.938 kB / 280.6 MB, free: 9.703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.01057, allocations: 3.984 kB / 280.6 MB, free: 9.699 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 8.667e-05/0.01065, allocations: 164.6 kB / 280.8 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.01072, allocations: 77.45 kB / 280.9 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.01089, allocations: 99.5 kB / 281 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.01089, allocations: 4 kB / 281 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.01089, allocations: 0 / 281 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.0109, allocations: 0 / 281 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.01104, allocations: 188.5 kB / 281.2 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01104, allocations: 0 / 281.2 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.046e-05/0.0111, allocations: 23.92 kB / 281.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.0111, allocations: 7.875 kB / 281.2 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.01111, allocations: 8.062 kB / 281.2 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01111, allocations: 0 / 281.2 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01111, allocations: 0 / 281.2 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.01127, allocations: 167.8 kB / 281.4 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.01132, allocations: 39.78 kB / 281.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.01134, allocations: 4 kB / 281.4 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.441e-05/0.01138, allocations: 4 kB / 281.4 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.01142, allocations: 7.984 kB / 281.4 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.01144, allocations: 7.984 kB / 281.4 MB, free: 8.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.01157, allocations: 225.1 kB / 281.6 MB, free: 8.602 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01157, allocations: 4 kB / 281.6 MB, free: 8.598 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001919/0.01176, allocations: 35.94 kB / 281.7 MB, free: 8.562 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,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 (10): * Single equations (assignments): 8 * 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.0009055/0.01267, allocations: 402.2 kB / 282.1 MB, free: 8.277 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.01281, allocations: 47.67 kB / 282.1 MB, free: 8.227 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.01281, allocations: 4 kB / 282.1 MB, free: 8.223 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.639e-05/0.01286, allocations: 31.61 kB / 282.2 MB, free: 8.188 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.01314, allocations: 69.28 kB / 282.2 MB, free: 8.117 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.01358, allocations: 349.1 kB / 282.6 MB, free: 7.742 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.169e-05/0.01363, allocations: 87.97 kB / 282.6 MB, free: 7.637 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.802e-05/0.01369, allocations: 25.88 kB / 282.7 MB, free: 7.613 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.01373, allocations: 28.48 kB / 282.7 MB, free: 7.586 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01373, allocations: 0 / 282.7 MB, free: 7.586 MB / 266.7 MB Notification: Performance of Templates: time 0.005139/0.01887, allocations: 3.037 MB / 285.7 MB, free: 4.586 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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: 3.007470743963495]