Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001202, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.00128, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.55 kB / 306.3 MB, free: 1.062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1316, allocations: 50.53 MB / 356.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.004126/0.1358, allocations: 1.965 MB / 358.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.1381, allocations: 1.301 MB / 360.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.1383, allocations: 4 kB / 360.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.1387, allocations: 63.73 kB / 360.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003074/0.139, allocations: 115.6 kB / 360.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.1397, allocations: 199.6 kB / 360.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.1399, allocations: 179.5 kB / 360.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.1401, allocations: 33.66 kB / 360.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1402, allocations: 79.58 kB / 360.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.1403, allocations: 83.61 kB / 360.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.1404, allocations: 4 kB / 360.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.1405, allocations: 55.97 kB / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.1406, allocations: 55.75 kB / 360.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.838e-05/0.1407, allocations: 79.42 kB / 361 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.1411, allocations: 243.4 kB / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1411, allocations: 0 / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1411, allocations: 0 / 361.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1411, allocations: 0 / 361.2 MB, free: 10.07 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008865/0.142, allocations: 0.5467 MB / 361.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.1421, allocations: 16.02 kB / 361.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.601e-05/0.1421, allocations: 24.56 kB / 361.8 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.1425, allocations: 291.6 kB / 362.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1426, allocations: 4.375 kB / 362.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.1426, allocations: 16.06 kB / 362.1 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.143, allocations: 187 kB / 362.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.143, allocations: 0 / 362.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.1431, allocations: 4 kB / 362.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.1431, allocations: 3.938 kB / 362.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.1432, allocations: 43.91 kB / 362.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000665/0.1439, allocations: 403.1 kB / 362.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.1442, allocations: 142.5 kB / 362.9 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.1443, allocations: 59.36 kB / 363 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.1444, allocations: 7.984 kB / 363 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.1446, allocations: 75.39 kB / 363 MB, free: 8.035 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.1446, allocations: 0 / 363 MB, free: 8.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004682/0.145, allocations: 169.2 kB / 363.2 MB, free: 7.863 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.1452, allocations: 200.2 kB / 363.4 MB, free: 7.625 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005131/0.1457, allocations: 339 kB / 363.7 MB, free: 7.285 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.1458, allocations: 25.7 kB / 363.7 MB, free: 7.254 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.1459, allocations: 140.3 kB / 363.9 MB, free: 7.109 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.1459, allocations: 19.73 kB / 363.9 MB, free: 7.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.146, allocations: 33.72 kB / 363.9 MB, free: 7.051 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1462, allocations: 334.8 kB / 364.3 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.887e-05/0.1462, allocations: 27.98 kB / 364.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.1464, allocations: 103.9 kB / 364.4 MB, free: 6.559 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.1466, allocations: 106.1 kB / 364.5 MB, free: 6.434 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1466, allocations: 4 kB / 364.5 MB, free: 6.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000256/0.1468, allocations: 137.2 kB / 364.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1469, allocations: 8.188 kB / 364.6 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1469, allocations: 7.984 kB / 364.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1469, allocations: 4 kB / 364.7 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.147, allocations: 23.92 kB / 364.7 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.1471, allocations: 4 kB / 364.7 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.238e-05/0.1471, allocations: 7.938 kB / 364.7 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.1472, allocations: 8 kB / 364.7 MB, free: 6.227 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.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 (13): * Single equations (assignments): 13 * 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.0001539/0.1473, allocations: 153.8 kB / 364.8 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.1474, allocations: 89.28 kB / 364.9 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.062e-05/0.1475, allocations: 29.73 kB / 365 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1475, allocations: 0 / 365 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1475, allocations: 4 kB / 365 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.1475, allocations: 3.938 kB / 365 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.1478, allocations: 257.3 kB / 365.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1478, allocations: 0 / 365.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.003e-05/0.1479, allocations: 15.98 kB / 365.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1479, allocations: 3.938 kB / 365.2 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.1479, allocations: 4 kB / 365.2 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1479, allocations: 4.094 kB / 365.3 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.1479, allocations: 4 kB / 365.3 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.1482, allocations: 187.3 kB / 365.4 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1483, allocations: 112.8 kB / 365.5 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.1484, allocations: 12 kB / 365.6 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.1485, allocations: 7.938 kB / 365.6 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.1485, allocations: 12.08 kB / 365.6 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.1486, allocations: 15.94 kB / 365.6 MB, free: 5.215 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002536/0.1488, allocations: 249.9 kB / 365.8 MB, free: 4.969 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1488, allocations: 0 / 365.8 MB, free: 4.969 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.1491, allocations: 36 kB / 365.9 MB, free: 4.934 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (11): * Single equations (assignments): 9 * 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.001041/0.1502, allocations: 411.7 kB / 366.3 MB, free: 4.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.1504, allocations: 87.83 kB / 366.4 MB, free: 4.574 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1504, allocations: 0 / 366.4 MB, free: 4.574 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.376e-05/0.1505, allocations: 27.98 kB / 366.4 MB, free: 4.547 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.151, allocations: 80.52 kB / 366.5 MB, free: 4.473 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006924/0.1517, allocations: 456.2 kB / 366.9 MB, free: 4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.152, allocations: 0.7479 MB / 367.7 MB, free: 3.227 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.475e-05/0.1521, allocations: 29.48 kB / 367.7 MB, free: 3.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.1522, allocations: 19.44 kB / 367.7 MB, free: 3.176 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1522, allocations: 0 / 367.7 MB, free: 3.176 MB / 302.1 MB Notification: Performance of Templates: time 0.006846/0.159, allocations: 2.949 MB / 370.7 MB, free: 248 kB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches