Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001458/0.001458, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001634/0.001634, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.9 MB, free: 8.984 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 60.72 kB / 306.9 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1183, allocations: 50.54 MB / 357.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004364/0.1227, allocations: 1.989 MB / 359.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.1254, allocations: 1.208 MB / 360.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.1256, allocations: 7.938 kB / 360.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006725/0.1264, allocations: 147.7 kB / 360.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004235/0.1268, allocations: 139.5 kB / 360.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006147/0.1274, allocations: 147.7 kB / 361.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.1277, allocations: 203.4 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1278, allocations: 37.67 kB / 361.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1279, allocations: 79.56 kB / 361.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1281, allocations: 71.62 kB / 361.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.1281, allocations: 4 kB / 361.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.1283, allocations: 47.91 kB / 361.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.779e-05/0.1283, allocations: 39.84 kB / 361.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.27e-05/0.1284, allocations: 79.47 kB / 361.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.1287, allocations: 160 kB / 361.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.1287, allocations: 7.984 kB / 361.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1287, allocations: 0 / 361.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1287, allocations: 0 / 361.8 MB, free: 9.898 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.001046/0.1298, allocations: 0.5195 MB / 362.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1299, allocations: 12.03 kB / 362.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.1299, allocations: 20.66 kB / 362.3 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.1303, allocations: 278.8 kB / 362.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.1304, allocations: 4.375 kB / 362.6 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.1304, allocations: 12.12 kB / 362.6 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004367/0.1308, allocations: 170.5 kB / 362.8 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1309, allocations: 0 / 362.8 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.1309, allocations: 4 kB / 362.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1309, allocations: 7.984 kB / 362.8 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.131, allocations: 43.91 kB / 362.8 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.1315, allocations: 375.2 kB / 363.2 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.1318, allocations: 134.5 kB / 363.3 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.22e-05/0.1319, allocations: 51.42 kB / 363.4 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.1319, allocations: 12 kB / 363.4 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.1321, allocations: 79.25 kB / 363.5 MB, free: 7.957 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.1321, allocations: 0 / 363.5 MB, free: 7.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003878/0.1325, allocations: 153.6 kB / 363.6 MB, free: 7.801 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.695e-05/0.1326, allocations: 166.2 kB / 363.8 MB, free: 7.602 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003763/0.133, allocations: 282.6 kB / 364.1 MB, free: 7.316 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.133, allocations: 29.7 kB / 364.1 MB, free: 7.281 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/0.1331, allocations: 124.5 kB / 364.2 MB, free: 7.152 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.1331, allocations: 15.8 kB / 364.2 MB, free: 7.137 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.1332, allocations: 37.61 kB / 364.3 MB, free: 7.094 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.1334, allocations: 334.8 kB / 364.6 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.609e-05/0.1335, allocations: 27.98 kB / 364.6 MB, free: 6.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.1337, allocations: 83.03 kB / 364.7 MB, free: 6.625 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1339, allocations: 89.97 kB / 364.8 MB, free: 6.516 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1339, allocations: 4.25 kB / 364.8 MB, free: 6.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003098/0.1342, allocations: 133.4 kB / 364.9 MB, free: 6.375 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1342, allocations: 4 kB / 364.9 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1342, allocations: 4 kB / 364.9 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1342, allocations: 3.938 kB / 364.9 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.996e-05/0.1343, allocations: 19.92 kB / 365 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1343, allocations: 4 kB / 365 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.921e-05/0.1344, allocations: 19.78 kB / 365 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.1344, allocations: 4 kB / 365 MB, free: 6.316 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,sample1.u,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.000254/0.1347, allocations: 154.7 kB / 365.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.694e-05/0.1348, allocations: 73.44 kB / 365.2 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.1349, allocations: 25.7 kB / 365.2 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1349, allocations: 4 kB / 365.2 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1349, allocations: 0 / 365.2 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1349, allocations: 7.922 kB / 365.2 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.1352, allocations: 233.5 kB / 365.5 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1352, allocations: 4 kB / 365.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.1352, allocations: 4.094 kB / 365.5 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1353, allocations: 4 kB / 365.5 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.1353, allocations: 4 kB / 365.5 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1353, allocations: 0 / 365.5 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1353, allocations: 3.938 kB / 365.5 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.1356, allocations: 179.4 kB / 365.7 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.523e-05/0.1356, allocations: 108.8 kB / 365.8 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.1357, allocations: 11.98 kB / 365.8 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.559e-05/0.1358, allocations: 4 kB / 365.8 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.1358, allocations: 7.984 kB / 365.8 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1358, allocations: 8 kB / 365.8 MB, free: 5.387 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.136, allocations: 213.9 kB / 366 MB, free: 5.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.136, allocations: 0 / 366 MB, free: 5.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1363, allocations: 32 kB / 366 MB, free: 5.148 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,sample1.u,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.0009986/0.1373, allocations: 416.4 kB / 366.5 MB, free: 4.871 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.1376, allocations: 79.84 kB / 366.5 MB, free: 4.793 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.1376, allocations: 0 / 366.5 MB, free: 4.793 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.425e-05/0.1377, allocations: 31.88 kB / 366.6 MB, free: 4.762 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.1381, allocations: 66.52 kB / 366.6 MB, free: 4.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/0.1388, allocations: 421.5 kB / 367 MB, free: 4.246 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1391, allocations: 0.7362 MB / 367.8 MB, free: 3.484 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.18e-05/0.1392, allocations: 23.42 kB / 367.8 MB, free: 3.461 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1392, allocations: 0 / 367.8 MB, free: 3.461 MB / 302.1 MB Notification: Performance of Templates: time 0.005446/0.1446, allocations: 2.839 MB / 370.6 MB, free: 0.6445 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches