Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001172/0.001172, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001145/0.001145, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 68.11 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1474, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.00375/0.1512, allocations: 1.618 MB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1525, allocations: 0.561 MB / 361.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1526, allocations: 4 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.444e-05/0.1527, allocations: 11.86 kB / 361.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.1528, allocations: 11.88 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.1532, allocations: 63.81 kB / 361.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.1533, allocations: 59.77 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1534, allocations: 15.98 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1536, allocations: 31.86 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.224e-05/0.1537, allocations: 27.84 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1537, allocations: 4 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.942e-05/0.1538, allocations: 11.98 kB / 361.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.1538, allocations: 15.94 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.1539, allocations: 35.73 kB / 361.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.154, allocations: 67.73 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.154, allocations: 4 kB / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.154, allocations: 0 / 361.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1541, allocations: 0 / 361.4 MB, free: 10.79 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.0005586/0.1546, allocations: 387 kB / 361.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.1547, allocations: 8.031 kB / 361.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.1549, allocations: 24.83 kB / 361.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.1552, allocations: 211.6 kB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1552, allocations: 384 / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.1552, allocations: 12.12 kB / 362.1 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.1556, allocations: 138.6 kB / 362.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1556, allocations: 3.938 kB / 362.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1556, allocations: 0 / 362.2 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1556, allocations: 4 kB / 362.2 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.044e-05/0.1557, allocations: 23.92 kB / 362.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.1562, allocations: 291.5 kB / 362.5 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.1564, allocations: 98.48 kB / 362.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.481e-05/0.1565, allocations: 43.42 kB / 362.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.1565, allocations: 3.938 kB / 362.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.1565, allocations: 34.56 kB / 362.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 3.296e-06/0.1566, allocations: 7.984 kB / 362.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003537/0.1569, allocations: 105.4 kB / 362.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.157, allocations: 132.5 kB / 362.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.1572, allocations: 146.4 kB / 363.1 MB, free: 8.871 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1572, allocations: 26.2 kB / 363.1 MB, free: 8.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.1573, allocations: 96.08 kB / 363.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1573, allocations: 11.89 kB / 363.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.1573, allocations: 17.72 kB / 363.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1575, allocations: 322.8 kB / 363.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.873e-05/0.1575, allocations: 12 kB / 363.6 MB, free: 8.371 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.1576, allocations: 48.16 kB / 363.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.1577, allocations: 60.22 kB / 363.7 MB, free: 8.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1577, allocations: 4 kB / 363.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001608/0.1579, allocations: 81.52 kB / 363.8 MB, free: 8.145 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.1579, allocations: 8 kB / 363.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1579, allocations: 0 / 363.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.158, allocations: 0 / 363.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1581, allocations: 19.92 kB / 363.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.1581, allocations: 0 / 363.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.207e-05/0.1582, allocations: 11.94 kB / 363.8 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.1582, allocations: 4 kB / 363.8 MB, free: 8.102 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 0.000136/0.1584, allocations: 129.9 kB / 363.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/0.1585, allocations: 61.53 kB / 364 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.1585, allocations: 15.83 kB / 364 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1585, allocations: 4 kB / 364 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1585, allocations: 0 / 364 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1585, allocations: 7.938 kB / 364 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.1587, allocations: 181.5 kB / 364.2 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1587, allocations: 0 / 364.2 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.722e-05/0.1588, allocations: 15.98 kB / 364.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1588, allocations: 8 kB / 364.2 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.1588, allocations: 0 / 364.2 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1588, allocations: 4 kB / 364.2 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1589, allocations: 3.938 kB / 364.2 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.1591, allocations: 198 kB / 364.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.1591, allocations: 93 kB / 364.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.1592, allocations: 4 kB / 364.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.1592, allocations: 4.172 kB / 364.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.1593, allocations: 11.94 kB / 364.5 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.1593, allocations: 8 kB / 364.5 MB, free: 7.254 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.389e-05/0.1594, allocations: 110.8 kB / 364.6 MB, free: 7.148 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1594, allocations: 0 / 364.6 MB, free: 7.148 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.1596, allocations: 8 kB / 364.6 MB, free: 7.141 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.0001084/0.1597, allocations: 107.2 kB / 364.7 MB, free: 7.027 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.1599, allocations: 39.91 kB / 364.8 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.16, allocations: 8 kB / 364.8 MB, free: 6.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.775e-05/0.16, allocations: 7.938 kB / 364.8 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.1604, allocations: 36.39 kB / 364.8 MB, free: 6.938 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.1608, allocations: 197.7 kB / 365 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1611, allocations: 0.6973 MB / 365.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.546e-05/0.1612, allocations: 3.984 kB / 365.7 MB, free: 5.984 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.1612, allocations: 19.38 kB / 365.8 MB, free: 5.965 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1612, allocations: 0 / 365.8 MB, free: 5.965 MB / 302.1 MB Notification: Performance of Templates: time 0.003774/0.165, allocations: 0.7147 MB / 366.5 MB, free: 5.262 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches