Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001378/0.001378, allocations: 115.7 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 201.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 66.2 kB / 306.4 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1645, allocations: 50.53 MB / 357 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.005537/0.1701, allocations: 1.648 MB / 358.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.1719, allocations: 0.5455 MB / 359.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.1721, allocations: 3.938 kB / 359.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.457e-05/0.1722, allocations: 0 / 359.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.1724, allocations: 15.86 kB / 359.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.1729, allocations: 55.83 kB / 359.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1731, allocations: 47.84 kB / 359.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.1733, allocations: 20.17 kB / 359.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.1735, allocations: 23.92 kB / 359.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.104e-05/0.1736, allocations: 31.84 kB / 359.4 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.1737, allocations: 0 / 359.4 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.645e-05/0.1737, allocations: 8 kB / 359.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.211e-05/0.1738, allocations: 15.92 kB / 359.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.683e-05/0.1739, allocations: 23.81 kB / 359.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.1741, allocations: 59.73 kB / 359.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1741, allocations: 4 kB / 359.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1741, allocations: 0 / 359.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1742, allocations: 0 / 359.5 MB, free: 11.89 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000732/0.1749, allocations: 393.8 kB / 359.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/0.175, allocations: 12.03 kB / 359.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/0.1752, allocations: 12.84 kB / 359.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.1755, allocations: 201.3 kB / 360.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.1756, allocations: 4.375 kB / 360.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.1756, allocations: 11.94 kB / 360.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004202/0.176, allocations: 109.9 kB / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1761, allocations: 0 / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.1761, allocations: 4 kB / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1761, allocations: 3.938 kB / 360.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.1763, allocations: 27.92 kB / 360.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.1768, allocations: 274.5 kB / 360.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.177, allocations: 75.77 kB / 360.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.1772, allocations: 34.56 kB / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.1773, allocations: 4 kB / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.1773, allocations: 34.56 kB / 360.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 2.094e-06/0.1773, allocations: 4 kB / 360.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004632/0.1778, allocations: 81.52 kB / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.1779, allocations: 106.8 kB / 360.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.1782, allocations: 156.1 kB / 361 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.1782, allocations: 25.7 kB / 361 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.1783, allocations: 92.42 kB / 361.1 MB, free: 10 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.1783, allocations: 4 kB / 361.1 MB, free: 9.996 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.1784, allocations: 21.7 kB / 361.1 MB, free: 9.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.1786, allocations: 318.8 kB / 361.4 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-05/0.1787, allocations: 7.984 kB / 361.5 MB, free: 9.641 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.1789, allocations: 39.36 kB / 361.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.179, allocations: 47.36 kB / 361.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.1791, allocations: 4 kB / 361.5 MB, free: 9.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002432/0.1793, allocations: 65.53 kB / 361.6 MB, free: 9.457 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.1794, allocations: 8.125 kB / 361.6 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1794, allocations: 4 kB / 361.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1794, allocations: 3.984 kB / 361.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1796, allocations: 11.94 kB / 361.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.1796, allocations: 4 kB / 361.6 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.376e-05/0.1797, allocations: 3.938 kB / 361.6 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.1797, allocations: 4 kB / 361.6 MB, free: 9.418 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.0001439/0.1798, allocations: 117.8 kB / 361.8 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.18, allocations: 61.56 kB / 361.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.313e-05/0.1801, allocations: 7.875 kB / 361.8 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1801, allocations: 4 kB / 361.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.1801, allocations: 4 kB / 361.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.1801, allocations: 3.938 kB / 361.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.1804, allocations: 169.7 kB / 362 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1805, allocations: 0 / 362 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.859e-05/0.1806, allocations: 11.98 kB / 362 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1806, allocations: 0 / 362 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.1806, allocations: 4 kB / 362 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.1806, allocations: 3.984 kB / 362 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1806, allocations: 4.031 kB / 362 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.181, allocations: 181 kB / 362.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1811, allocations: 100.9 kB / 362.3 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.1811, allocations: 3.984 kB / 362.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.1813, allocations: 8 kB / 362.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.1814, allocations: 3.938 kB / 362.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1814, allocations: 0 / 362.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.1815, allocations: 114.1 kB / 362.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1815, allocations: 0 / 362.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004206/0.182, allocations: 12 kB / 362.4 MB, free: 8.512 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001786/0.1822, allocations: 95.25 kB / 362.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.1824, allocations: 35.91 kB / 362.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.1825, allocations: 0 / 362.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.822e-05/0.1825, allocations: 11.94 kB / 362.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/0.1832, allocations: 31.08 kB / 362.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006461/0.1839, allocations: 212.7 kB / 362.8 MB, free: 8.098 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.1844, allocations: 0.6963 MB / 363.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.37e-05/0.1845, allocations: 0 / 363.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.1845, allocations: 11.44 kB / 363.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1845, allocations: 0 / 363.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of Templates: time 0.005359/0.1899, allocations: 0.6187 MB / 364.1 MB, free: 6.754 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches