Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00136/0.00136, allocations: 104.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 68.27 kB / 306.9 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.142, allocations: 50.52 MB / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003266/0.1453, allocations: 1.626 MB / 359.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1464, allocations: 0.5842 MB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.89e-05/0.1465, allocations: 4 kB / 359.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.349e-05/0.1466, allocations: 7.875 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.1467, allocations: 15.86 kB / 359.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.1471, allocations: 67.75 kB / 359.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.1472, allocations: 55.84 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1473, allocations: 24.16 kB / 359.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.1475, allocations: 39.84 kB / 359.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.485e-05/0.1475, allocations: 19.86 kB / 359.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.1475, allocations: 4 kB / 359.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.138e-05/0.1476, allocations: 11.98 kB / 359.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.1477, allocations: 15.94 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.985e-05/0.1477, allocations: 39.72 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.1479, allocations: 63.73 kB / 360 MB, free: 11.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1479, allocations: 0 / 360 MB, free: 11.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1479, allocations: 4 kB / 360 MB, free: 11.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1479, allocations: 0 / 360 MB, free: 11.48 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005456/0.1485, allocations: 395.3 kB / 360.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1485, allocations: 12.03 kB / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.1487, allocations: 20.73 kB / 360.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.1489, allocations: 207.3 kB / 360.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.149, allocations: 4.375 kB / 360.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.149, allocations: 4.375 kB / 360.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.1493, allocations: 147 kB / 360.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1493, allocations: 3.938 kB / 360.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1493, allocations: 4 kB / 360.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.1494, allocations: 7.938 kB / 360.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.819e-05/0.1495, allocations: 23.97 kB / 360.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.1498, allocations: 295.3 kB / 361.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.15, allocations: 102.4 kB / 361.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.592e-05/0.1501, allocations: 35.5 kB / 361.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.1501, allocations: 7.922 kB / 361.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1501, allocations: 42.56 kB / 361.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1501, allocations: 0 / 361.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003109/0.1505, allocations: 101.4 kB / 361.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/0.1505, allocations: 140.5 kB / 361.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.1507, allocations: 150.8 kB / 361.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1507, allocations: 29.7 kB / 361.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.1508, allocations: 88.14 kB / 361.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.1508, allocations: 4 kB / 361.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.1509, allocations: 25.61 kB / 361.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.151, allocations: 322.8 kB / 362.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.6e-05/0.1511, allocations: 7.984 kB / 362.2 MB, free: 9.055 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.678e-05/0.1511, allocations: 57.08 kB / 362.2 MB, free: 8.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.1513, allocations: 65.08 kB / 362.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1513, allocations: 0 / 362.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001566/0.1514, allocations: 81.55 kB / 362.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1515, allocations: 6.812 kB / 362.4 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1515, allocations: 4 kB / 362.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1515, allocations: 0 / 362.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.993e-05/0.1516, allocations: 16.17 kB / 362.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.1516, allocations: 7.938 kB / 362.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.1517, allocations: 11.91 kB / 362.4 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1517, allocations: 4.125 kB / 362.4 MB, free: 8.766 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.281e-05/0.1518, allocations: 125.7 kB / 362.5 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-05/0.1519, allocations: 65.55 kB / 362.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.1519, allocations: 19.81 kB / 362.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1519, allocations: 4 kB / 362.6 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1519, allocations: 4.094 kB / 362.6 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1519, allocations: 7.938 kB / 362.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.1521, allocations: 177.6 kB / 362.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1521, allocations: 3.938 kB / 362.8 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.506e-05/0.1522, allocations: 15.98 kB / 362.8 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1522, allocations: 0 / 362.8 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1522, allocations: 4 kB / 362.8 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.1523, allocations: 4 kB / 362.8 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1523, allocations: 3.938 kB / 362.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.1525, allocations: 194 kB / 363 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.78e-05/0.1525, allocations: 96.91 kB / 363.1 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1526, allocations: 4 kB / 363.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.465e-05/0.1527, allocations: 11.98 kB / 363.1 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.1527, allocations: 0 / 363.1 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-06/0.1527, allocations: 8 kB / 363.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.615e-05/0.1528, allocations: 114.3 kB / 363.3 MB, free: 7.809 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1528, allocations: 0 / 363.3 MB, free: 7.809 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000231/0.153, allocations: 12 kB / 363.3 MB, free: 7.797 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001166/0.1531, allocations: 99.19 kB / 363.4 MB, free: 7.691 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.1533, allocations: 44.22 kB / 363.4 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1533, allocations: 4.062 kB / 363.4 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.468e-05/0.1534, allocations: 4 kB / 363.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.1539, allocations: 47.89 kB / 363.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.1543, allocations: 209.9 kB / 363.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.1545, allocations: 0.7001 MB / 364.4 MB, free: 6.625 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.408e-05/0.1546, allocations: 4.672 kB / 364.4 MB, free: 6.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.1546, allocations: 15.44 kB / 364.4 MB, free: 6.605 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1546, allocations: 0 / 364.4 MB, free: 6.605 MB / 302.1 MB Notification: Performance of Templates: time 0.003356/0.158, allocations: 0.8471 MB / 365.2 MB, free: 5.781 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches