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.001306/0.001306, allocations: 116.9 kB / 18.4 MB, free: 4.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001189, allocations: 204.5 kB / 19.35 MB, free: 3.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 59.28 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1434, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002991/0.1464, allocations: 1.617 MB / 360.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009836/0.1474, allocations: 0.5804 MB / 361.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.674e-05/0.1475, allocations: 7.938 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.371e-05/0.1476, allocations: 7.922 kB / 361.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.1477, allocations: 15.86 kB / 361.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.148, allocations: 67.12 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.1482, allocations: 55.84 kB / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1483, allocations: 32.12 kB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.1484, allocations: 31.86 kB / 361.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.015e-05/0.1485, allocations: 23.86 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.1485, allocations: 4 kB / 361.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.388e-05/0.1485, allocations: 11.98 kB / 361.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.1486, allocations: 11.94 kB / 361.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.1486, allocations: 39.73 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.1488, allocations: 71.61 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1488, allocations: 4 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.1488, allocations: 7.984 kB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1488, allocations: 0 / 361.5 MB, free: 10.71 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.0004556/0.1493, allocations: 383.1 kB / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1493, allocations: 12.03 kB / 361.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.1495, allocations: 24.73 kB / 361.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.1498, allocations: 220 kB / 362.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1498, allocations: 4.375 kB / 362.1 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.1498, allocations: 4.375 kB / 362.1 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.1501, allocations: 142.9 kB / 362.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1501, allocations: 4 kB / 362.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1501, allocations: 4 kB / 362.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1501, allocations: 4 kB / 362.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.784e-05/0.1502, allocations: 27.91 kB / 362.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.1506, allocations: 291.4 kB / 362.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.1507, allocations: 94.36 kB / 362.7 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.104e-05/0.1508, allocations: 47.48 kB / 362.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.1508, allocations: 3.984 kB / 362.7 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.1509, allocations: 38.56 kB / 362.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1509, allocations: 0 / 362.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.000288/0.1512, allocations: 97.95 kB / 362.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/0.1513, allocations: 144.5 kB / 363 MB, free: 8.934 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1514, allocations: 145.3 kB / 363.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.1514, allocations: 37.69 kB / 363.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.1515, allocations: 84.14 kB / 363.3 MB, free: 8.656 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.1515, allocations: 8 kB / 363.3 MB, free: 8.648 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.1515, allocations: 25.61 kB / 363.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1517, allocations: 322.8 kB / 363.6 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.568e-05/0.1517, allocations: 11.98 kB / 363.6 MB, free: 8.281 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.315e-05/0.1518, allocations: 45.14 kB / 363.7 MB, free: 8.219 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1519, allocations: 69.08 kB / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1519, allocations: 0 / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001553/0.1521, allocations: 85.67 kB / 363.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1521, allocations: 4 kB / 363.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1521, allocations: 0 / 363.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1521, allocations: 4 kB / 363.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.072e-05/0.1522, allocations: 11.94 kB / 363.8 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.1522, allocations: 7.984 kB / 363.8 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.1523, allocations: 11.84 kB / 363.9 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.1523, allocations: 11.98 kB / 363.9 MB, free: 7.992 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 8.355e-05/0.1524, allocations: 125.7 kB / 364 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.961e-05/0.1525, allocations: 69.59 kB / 364.1 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.1525, allocations: 19.81 kB / 364.1 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1525, allocations: 4 kB / 364.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1525, allocations: 0 / 364.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1526, allocations: 3.984 kB / 364.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.1527, allocations: 181.6 kB / 364.3 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1527, allocations: 0 / 364.3 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.778e-05/0.1528, allocations: 15.92 kB / 364.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1528, allocations: 4 kB / 364.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.1528, allocations: 4.219 kB / 364.3 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.1529, allocations: 11.94 kB / 364.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1529, allocations: 0 / 364.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.1531, allocations: 197.9 kB / 364.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.1531, allocations: 100.9 kB / 364.6 MB, free: 7.156 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1532, allocations: 4 kB / 364.6 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.1532, allocations: 0 / 364.6 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.1533, allocations: 11.98 kB / 364.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.1533, allocations: 0 / 364.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.121e-05/0.1534, allocations: 115.2 kB / 364.7 MB, free: 7.027 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1534, allocations: 0 / 364.7 MB, free: 7.027 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1536, allocations: 12 kB / 364.7 MB, free: 7.016 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.0001064/0.1538, allocations: 99.25 kB / 364.8 MB, free: 6.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001617/0.1539, allocations: 43.91 kB / 364.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1539, allocations: 0 / 364.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.705e-05/0.154, allocations: 7.938 kB / 364.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.1544, allocations: 39.92 kB / 364.9 MB, free: 6.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.1547, allocations: 218.2 kB / 365.1 MB, free: 6.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.155, allocations: 0.6963 MB / 365.8 MB, free: 5.848 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.467e-05/0.1551, allocations: 4.672 kB / 365.8 MB, free: 5.844 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.1551, allocations: 11.44 kB / 365.8 MB, free: 5.832 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1551, allocations: 4 kB / 365.8 MB, free: 5.828 MB / 302.1 MB Notification: Performance of Templates: time 0.003053/0.1582, allocations: 0.8409 MB / 366.7 MB, free: 5.004 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/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