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.001238/0.001238, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001222/0.001222, allocations: 158.4 kB / 25.61 MB, free: 8.887 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.026/1.026, allocations: 177 MB / 205.9 MB, free: 4.441 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 2.044e-06/2.044e-06, allocations: 3.938 kB / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.595e-05/3.799e-05, allocations: 3.656 kB / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003756/0.003794, allocations: 1.928 MB / 276 MB, free: 2.371 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.006059, allocations: 1.251 MB / 277.3 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.006283, allocations: 3.938 kB / 277.3 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.006697, allocations: 67.66 kB / 277.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004967/0.007194, allocations: 132.4 kB / 277.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009044/0.008098, allocations: 225.1 kB / 277.7 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003457/0.008444, allocations: 187.9 kB / 277.9 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.008571, allocations: 21.8 kB / 277.9 MB, free: 500 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.008764, allocations: 100.4 kB / 278 MB, free: 400 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.008917, allocations: 74.27 kB / 278.1 MB, free: 328 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.008952, allocations: 8 kB / 278.1 MB, free: 320 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.009169, allocations: 75.81 kB / 278.2 MB, free: 244 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.557e-05/0.009265, allocations: 55.77 kB / 278.2 MB, free: 188 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.444e-05/0.009329, allocations: 39.86 kB / 278.3 MB, free: 148 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.009739, allocations: 187.2 kB / 278.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.009743, allocations: 0 / 278.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.009744, allocations: 4 kB / 278.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.009752, allocations: 0 / 278.4 MB, free: 15.96 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.0007133/0.01047, allocations: 0.5749 MB / 279 MB, free: 15.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.01051, allocations: 8.031 kB / 279 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.83e-05/0.01058, allocations: 24.8 kB / 279.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.01089, allocations: 219.6 kB / 279.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.01092, allocations: 8.375 kB / 279.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.01093, allocations: 4.375 kB / 279.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.01122, allocations: 153.2 kB / 279.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.01123, allocations: 192 / 279.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.01124, allocations: 4.375 kB / 279.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.01125, allocations: 3.938 kB / 279.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.318e-05/0.0113, allocations: 27.91 kB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004505/0.01175, allocations: 323.7 kB / 279.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.01192, allocations: 125.3 kB / 279.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.01197, allocations: 35.05 kB / 279.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.01199, allocations: 8 kB / 279.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.01211, allocations: 68.97 kB / 280 MB, free: 14.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.404e-06/0.01212, allocations: 3.938 kB / 280 MB, free: 14.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002674/0.01238, allocations: 125.4 kB / 280.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.01246, allocations: 111.1 kB / 280.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.01269, allocations: 316.2 kB / 280.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.01271, allocations: 25.7 kB / 280.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.01281, allocations: 186.8 kB / 280.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.01284, allocations: 19.89 kB / 280.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.01288, allocations: 31.36 kB / 280.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.01302, allocations: 0.5079 MB / 281.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.586e-05/0.01305, allocations: 7.984 kB / 281.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.774e-05/0.01309, allocations: 64.75 kB / 281.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.949e-05/0.01314, allocations: 43.33 kB / 281.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01314, allocations: 0 / 281.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001103/0.01325, allocations: 89.42 kB / 281.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01327, allocations: 8 kB / 281.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01327, allocations: 0 / 281.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.01328, allocations: 0 / 281.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.492e-05/0.01336, allocations: 15.98 kB / 281.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.01336, allocations: 0 / 281.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.0134, allocations: 7.938 kB / 281.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.01341, allocations: 0 / 281.6 MB, free: 12.54 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 0.0001093/0.01352, allocations: 168.9 kB / 281.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/0.01359, allocations: 65.44 kB / 281.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.01373, allocations: 103.4 kB / 281.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01373, allocations: 4 kB / 281.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.01374, allocations: 3.984 kB / 281.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.01375, allocations: 0 / 281.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.01388, allocations: 153.1 kB / 282 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01388, allocations: 0 / 282 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.852e-05/0.01393, allocations: 12 kB / 282.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01393, allocations: 4.062 kB / 282.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.01394, allocations: 8 kB / 282.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.01395, allocations: 11.86 kB / 282.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.01395, allocations: 0 / 282.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.01408, allocations: 147.8 kB / 282.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.01414, allocations: 35.84 kB / 282.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.01415, allocations: 0 / 282.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.835e-05/0.01419, allocations: 11.94 kB / 282.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.01423, allocations: 7.984 kB / 282.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.01425, allocations: 7.984 kB / 282.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001139/0.01436, allocations: 217.1 kB / 282.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01436, allocations: 0 / 282.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002006/0.01456, allocations: 35.92 kB / 282.5 MB, free: 11.48 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.0009068/0.01547, allocations: 404.5 kB / 282.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.01559, allocations: 39.61 kB / 283 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01559, allocations: 0 / 283 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.702e-05/0.01563, allocations: 31.61 kB / 283 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.0159, allocations: 66.97 kB / 283.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.01634, allocations: 333.3 kB / 283.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.594e-05/0.01639, allocations: 96.02 kB / 283.5 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.163e-05/0.01645, allocations: 25.75 kB / 283.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.01656, allocations: 106.2 kB / 283.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01656, allocations: 0 / 283.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of Templates: time 0.005713/0.02227, allocations: 3.264 MB / 286.9 MB, free: 7.238 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.113135766237974]