Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001213/0.001213, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 247.1 MB, free: 10.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 62.52 kB / 307.1 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1323, allocations: 50.53 MB / 357.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.004841/0.1372, allocations: 1.962 MB / 359.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.1392, allocations: 1.183 MB / 360.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.1394, allocations: 0 / 360.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006716/0.1401, allocations: 151 kB / 360.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004021/0.1405, allocations: 143.6 kB / 361.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.1411, allocations: 143.7 kB / 361.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000247/0.1414, allocations: 191.5 kB / 361.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1415, allocations: 37.53 kB / 361.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1416, allocations: 75.64 kB / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1418, allocations: 83.61 kB / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.1418, allocations: 8 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.142, allocations: 51.98 kB / 361.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.142, allocations: 39.84 kB / 361.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.029e-05/0.1421, allocations: 79.47 kB / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.1424, allocations: 156 kB / 361.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1424, allocations: 0 / 361.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1424, allocations: 0 / 361.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1425, allocations: 0 / 361.9 MB, free: 10.13 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.0008583/0.1433, allocations: 0.5156 MB / 362.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1434, allocations: 12.03 kB / 362.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.1435, allocations: 20.66 kB / 362.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.1438, allocations: 266.8 kB / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1438, allocations: 4.375 kB / 362.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.1439, allocations: 8.125 kB / 362.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.1442, allocations: 158.7 kB / 362.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1442, allocations: 3.938 kB / 362.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.1443, allocations: 4 kB / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1443, allocations: 0 / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1444, allocations: 35.97 kB / 362.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.1449, allocations: 362.3 kB / 363.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.1452, allocations: 111.9 kB / 363.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.974e-05/0.1453, allocations: 42.56 kB / 363.4 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.1453, allocations: 4 kB / 363.4 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.1455, allocations: 79.33 kB / 363.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 3.546e-06/0.1455, allocations: 4 kB / 363.5 MB, free: 8.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003806/0.1459, allocations: 137.3 kB / 363.7 MB, free: 8.156 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.146, allocations: 140.5 kB / 363.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.1463, allocations: 276.8 kB / 364.1 MB, free: 7.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.1464, allocations: 29.7 kB / 364.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.1465, allocations: 112.1 kB / 364.2 MB, free: 7.562 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.1465, allocations: 23.98 kB / 364.2 MB, free: 7.539 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-05/0.1466, allocations: 29.72 kB / 364.3 MB, free: 7.504 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1467, allocations: 334.8 kB / 364.6 MB, free: 7.168 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.259e-05/0.1468, allocations: 20 kB / 364.6 MB, free: 7.148 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.407e-05/0.1469, allocations: 69.98 kB / 364.7 MB, free: 7.059 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1471, allocations: 72.27 kB / 364.7 MB, free: 6.973 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1471, allocations: 0 / 364.7 MB, free: 6.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000209/0.1473, allocations: 117.4 kB / 364.9 MB, free: 6.852 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1473, allocations: 4.125 kB / 364.9 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1473, allocations: 4 kB / 364.9 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1473, allocations: 4 kB / 364.9 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.1474, allocations: 15.98 kB / 364.9 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1475, allocations: 4 kB / 364.9 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.141e-05/0.1475, allocations: 11.84 kB / 364.9 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.1476, allocations: 7.938 kB / 364.9 MB, free: 6.801 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,sample1.u,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.0001467/0.1477, allocations: 149.7 kB / 365.1 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.725e-05/0.1478, allocations: 69.44 kB / 365.1 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.896e-05/0.1479, allocations: 25.7 kB / 365.1 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.1479, allocations: 0 / 365.1 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1479, allocations: 0 / 365.1 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1479, allocations: 3.938 kB / 365.2 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.1481, allocations: 237.8 kB / 365.4 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1482, allocations: 4 kB / 365.4 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.1482, allocations: 4 kB / 365.4 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.1482, allocations: 4 kB / 365.4 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.1482, allocations: 4 kB / 365.4 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1482, allocations: 64 / 365.4 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1482, allocations: 8 kB / 365.4 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.1485, allocations: 158.5 kB / 365.6 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.1486, allocations: 100.9 kB / 365.7 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.1486, allocations: 4 kB / 365.7 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.498e-05/0.1487, allocations: 12.08 kB / 365.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.1488, allocations: 11.94 kB / 365.7 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.1488, allocations: 7.938 kB / 365.7 MB, free: 5.906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.149, allocations: 200.5 kB / 365.9 MB, free: 5.707 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.149, allocations: 0 / 365.9 MB, free: 5.707 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1493, allocations: 35.89 kB / 365.9 MB, free: 5.672 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,sample1.u,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.001058/0.1504, allocations: 417.7 kB / 366.3 MB, free: 5.395 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.1506, allocations: 71.91 kB / 366.4 MB, free: 5.324 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1506, allocations: 4 kB / 366.4 MB, free: 5.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.249e-05/0.1507, allocations: 23.92 kB / 366.4 MB, free: 5.297 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.1512, allocations: 68.27 kB / 366.5 MB, free: 5.238 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000761/0.1519, allocations: 394.8 kB / 366.9 MB, free: 4.809 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.1523, allocations: 0.728 MB / 367.6 MB, free: 4.055 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.1524, allocations: 27.42 kB / 367.6 MB, free: 4.027 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1524, allocations: 3.938 kB / 367.6 MB, free: 4.023 MB / 302.1 MB Notification: Performance of Templates: time 0.005211/0.1576, allocations: 2.648 MB / 370.3 MB, free: 1.391 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches