Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009283/0.0009288, allocations: 95.64 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 201.2 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.649/1.649, allocations: 227.8 MB / 246.9 MB, free: 9.719 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003219, allocations: 11.98 kB / 307.8 MB, free: 0.5352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1645, allocations: 51.53 MB / 359.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.00277/0.1674, allocations: 1.57 MB / 360.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1689, allocations: 0.6703 MB / 361.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.1691, allocations: 7.938 kB / 361.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.1692, allocations: 11.86 kB / 361.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.1694, allocations: 19.86 kB / 361.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.1699, allocations: 102.9 kB / 361.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.1701, allocations: 131.6 kB / 361.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.1703, allocations: 73.61 kB / 361.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.1705, allocations: 47.73 kB / 361.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.1707, allocations: 39.66 kB / 362 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.1707, allocations: 4 kB / 362 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.096e-05/0.1708, allocations: 11.98 kB / 362 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.322e-05/0.1709, allocations: 19.92 kB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.171, allocations: 77.27 kB / 362.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.1713, allocations: 127.5 kB / 362.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.1713, allocations: 7.938 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.1713, allocations: 0 / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1713, allocations: 0 / 362.2 MB, free: 10.08 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007603/0.1721, allocations: 431.3 kB / 362.7 MB, free: 9.609 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.1721, allocations: 12.03 kB / 362.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.1723, allocations: 36.64 kB / 362.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.1727, allocations: 232 kB / 362.9 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.1727, allocations: 16.12 kB / 362.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.1728, allocations: 15.94 kB / 363 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006768/0.1734, allocations: 284.3 kB / 363.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1735, allocations: 0 / 363.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.1735, allocations: 4 kB / 363.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1735, allocations: 4 kB / 363.2 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.1738, allocations: 83.89 kB / 363.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006421/0.1744, allocations: 431.3 kB / 363.7 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005596/0.175, allocations: 310.1 kB / 364 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.1752, allocations: 116.4 kB / 364.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.1753, allocations: 15.91 kB / 364.2 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.1753, allocations: 42.55 kB / 364.2 MB, free: 7.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.1753, allocations: 0 / 364.2 MB, free: 7.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006149/0.1759, allocations: 241.4 kB / 364.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/0.1761, allocations: 195.9 kB / 364.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.1763, allocations: 182.2 kB / 364.8 MB, free: 7.152 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.1764, allocations: 29.7 kB / 364.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.1765, allocations: 108 kB / 365 MB, free: 7.008 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.1765, allocations: 8 kB / 365 MB, free: 7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.1766, allocations: 29.73 kB / 365 MB, free: 6.965 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1767, allocations: 318.8 kB / 365.3 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.737e-05/0.1768, allocations: 23.98 kB / 365.3 MB, free: 6.621 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.177, allocations: 137 kB / 365.5 MB, free: 6.438 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.1772, allocations: 165.5 kB / 365.6 MB, free: 6.227 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.1772, allocations: 0 / 365.6 MB, free: 6.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003001/0.1775, allocations: 173.1 kB / 365.8 MB, free: 6.051 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1775, allocations: 7.938 kB / 365.8 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1776, allocations: 4.5 kB / 365.8 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1776, allocations: 4 kB / 365.8 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.1777, allocations: 39.92 kB / 365.9 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1777, allocations: 4 kB / 365.9 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.402e-05/0.1778, allocations: 15.92 kB / 365.9 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.1779, allocations: 12 kB / 365.9 MB, free: 5.965 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.0001297/0.178, allocations: 133.7 kB / 366 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/0.1783, allocations: 165.3 kB / 366.2 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.1784, allocations: 17.41 kB / 366.2 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1784, allocations: 4 kB / 366.2 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1784, allocations: 0 / 366.2 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.1784, allocations: 3.984 kB / 366.2 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.1787, allocations: 214 kB / 366.4 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1787, allocations: 4 kB / 366.4 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.1789, allocations: 44 kB / 366.5 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.1789, allocations: 7.938 kB / 366.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1789, allocations: 0 / 366.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.1789, allocations: 7.938 kB / 366.5 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.1789, allocations: 7.922 kB / 366.5 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.1794, allocations: 365.1 kB / 366.8 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.1795, allocations: 112.8 kB / 366.9 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.1796, allocations: 7.922 kB / 367 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.1797, allocations: 20 kB / 367 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.1798, allocations: 3.984 kB / 367 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1798, allocations: 15.94 kB / 367 MB, free: 4.746 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.1799, allocations: 132.4 kB / 367.1 MB, free: 4.617 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1799, allocations: 3.938 kB / 367.1 MB, free: 4.613 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003131/0.1803, allocations: 20 kB / 367.1 MB, free: 4.594 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.0001514/0.1804, allocations: 107.2 kB / 367.2 MB, free: 4.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000334/0.1808, allocations: 112.7 kB / 367.4 MB, free: 4.371 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1808, allocations: 4 kB / 367.4 MB, free: 4.367 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.003e-05/0.1808, allocations: 16.05 kB / 367.4 MB, free: 4.352 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/0.1816, allocations: 108.6 kB / 367.5 MB, free: 4.246 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009887/0.1826, allocations: 425.6 kB / 367.9 MB, free: 3.789 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.183, allocations: 0.7283 MB / 368.6 MB, free: 3.035 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.673e-05/0.1831, allocations: 17.91 kB / 368.6 MB, free: 3.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.1831, allocations: 19.44 kB / 368.7 MB, free: 3.004 MB / 302.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1831, allocations: 0 / 368.7 MB, free: 3.004 MB / 302.1 MB Notification: Performance of Templates: time 0.005107/0.1882, allocations: 1.554 MB / 370.2 MB, free: 1.477 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches