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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001466/0.001466, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001762/0.001762, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 56.28 kB / 306.9 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1277, allocations: 50.53 MB / 357.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003473/0.1312, allocations: 1.896 MB / 359.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.1332, allocations: 1.284 MB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.1334, allocations: 3.938 kB / 360.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.1338, allocations: 71.66 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.1341, allocations: 131.4 kB / 360.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006836/0.1348, allocations: 223.2 kB / 361.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.1351, allocations: 175.5 kB / 361.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1352, allocations: 41.52 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1353, allocations: 75.64 kB / 361.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.1354, allocations: 75.69 kB / 361.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.1355, allocations: 8 kB / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.1357, allocations: 63.95 kB / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.1358, allocations: 51.78 kB / 361.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.147e-05/0.1359, allocations: 83.41 kB / 361.6 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.1362, allocations: 239.5 kB / 361.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1362, allocations: 4 kB / 361.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1362, allocations: 0 / 361.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1362, allocations: 4 kB / 361.9 MB, free: 9.672 MB / 302.1 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.000701/0.1369, allocations: 0.5311 MB / 362.4 MB, free: 9.086 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.137, allocations: 8.031 kB / 362.4 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.403e-05/0.137, allocations: 24.66 kB / 362.4 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.1374, allocations: 287.6 kB / 362.7 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1374, allocations: 8.375 kB / 362.7 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.1374, allocations: 12.12 kB / 362.7 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.1378, allocations: 155.6 kB / 362.9 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1378, allocations: 0 / 362.9 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1378, allocations: 0 / 362.9 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1378, allocations: 7.938 kB / 362.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.138, allocations: 39.91 kB / 362.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.1385, allocations: 394.3 kB / 363.3 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.1387, allocations: 119.9 kB / 363.4 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.27e-05/0.1388, allocations: 42.56 kB / 363.5 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.1389, allocations: 3.984 kB / 363.5 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.1392, allocations: 79.39 kB / 363.6 MB, free: 7.758 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.833e-06/0.1392, allocations: 0 / 363.6 MB, free: 7.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004168/0.1396, allocations: 157.2 kB / 363.7 MB, free: 7.598 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.1397, allocations: 158.2 kB / 363.9 MB, free: 7.406 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004459/0.1402, allocations: 338.6 kB / 364.2 MB, free: 7.062 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.1402, allocations: 33.7 kB / 364.2 MB, free: 7.023 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.732e-05/0.1403, allocations: 124.3 kB / 364.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1404, allocations: 23.8 kB / 364.4 MB, free: 6.875 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.1404, allocations: 29.72 kB / 364.4 MB, free: 6.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1406, allocations: 334.8 kB / 364.7 MB, free: 6.504 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.215e-05/0.1407, allocations: 23.98 kB / 364.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.1408, allocations: 94.78 kB / 364.8 MB, free: 6.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.141, allocations: 80.22 kB / 364.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.141, allocations: 0 / 364.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002578/0.1413, allocations: 125.6 kB / 365 MB, free: 6.141 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.1413, allocations: 7.281 kB / 365.1 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1413, allocations: 64 / 365.1 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/0.1413, allocations: 8 kB / 365.1 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1415, allocations: 23.92 kB / 365.1 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1415, allocations: 4 kB / 365.1 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.1416, allocations: 7.938 kB / 365.1 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1416, allocations: 4 kB / 365.1 MB, free: 6.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001632/0.1418, allocations: 165.8 kB / 365.3 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.004e-05/0.1419, allocations: 65.36 kB / 365.3 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.1419, allocations: 25.7 kB / 365.3 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.1419, allocations: 4 kB / 365.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.142, allocations: 0 / 365.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.142, allocations: 7.922 kB / 365.4 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.1423, allocations: 245.5 kB / 365.6 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1423, allocations: 0 / 365.6 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.539e-05/0.1424, allocations: 15.92 kB / 365.6 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1424, allocations: 0 / 365.6 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1424, allocations: 8.062 kB / 365.6 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1424, allocations: 0 / 365.6 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1425, allocations: 3.938 kB / 365.6 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.1428, allocations: 174.3 kB / 365.8 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.1429, allocations: 108.9 kB / 365.9 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.143, allocations: 4 kB / 365.9 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.715e-05/0.143, allocations: 12 kB / 365.9 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.1431, allocations: 7.984 kB / 365.9 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.1432, allocations: 7.938 kB / 365.9 MB, free: 5.145 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002698/0.1434, allocations: 249.9 kB / 366.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1434, allocations: 0 / 366.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00034/0.1438, allocations: 36 kB / 366.2 MB, free: 4.867 MB / 302.1 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001087/0.1449, allocations: 416.5 kB / 366.6 MB, free: 4.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.1452, allocations: 71.84 kB / 366.7 MB, free: 4.516 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1452, allocations: 0 / 366.7 MB, free: 4.516 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.1453, allocations: 31.97 kB / 366.7 MB, free: 4.484 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.1457, allocations: 75.81 kB / 366.8 MB, free: 4.414 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007585/0.1465, allocations: 373.4 kB / 367.2 MB, free: 4.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.1471, allocations: 0.7552 MB / 367.9 MB, free: 3.238 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.1473, allocations: 33.53 kB / 367.9 MB, free: 3.203 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.1473, allocations: 23.42 kB / 368 MB, free: 3.184 MB / 302.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1473, allocations: 0 / 368 MB, free: 3.184 MB / 302.1 MB Notification: Performance of Templates: time 0.007259/0.1546, allocations: 2.872 MB / 370.8 MB, free: 344 kB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches