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.001732/0.001732, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002111/0.002111, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2834, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002863/0.2864, allocations: 1.613 MB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.2874, allocations: 0.5647 MB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.812e-05/0.2875, allocations: 4 kB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.354e-05/0.2876, allocations: 3.938 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.2877, allocations: 15.86 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.2881, allocations: 63.7 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.2882, allocations: 55.78 kB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.2883, allocations: 27.97 kB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.2885, allocations: 27.92 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.889e-05/0.2886, allocations: 23.86 kB / 412.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.2886, allocations: 7.938 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.95e-05/0.2886, allocations: 11.98 kB / 412.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.2887, allocations: 19.92 kB / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.2888, allocations: 31.75 kB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.2889, allocations: 71.72 kB / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2889, allocations: 0 / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2889, allocations: 0 / 412.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.2889, allocations: 0 / 412.5 MB, free: 15.05 MB / 334.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.0005076/0.2895, allocations: 380.2 kB / 412.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2895, allocations: 12.03 kB / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.2897, allocations: 16.83 kB / 412.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.29, allocations: 217.7 kB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.29, allocations: 8.375 kB / 413.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.29, allocations: 4.125 kB / 413.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.2903, allocations: 126.8 kB / 413.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.2903, allocations: 4 kB / 413.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.2903, allocations: 0 / 413.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.2904, allocations: 3.984 kB / 413.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.004e-05/0.2905, allocations: 27.92 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.2908, allocations: 299.4 kB / 413.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.291, allocations: 86.42 kB / 413.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.591e-05/0.2911, allocations: 47.48 kB / 413.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.2911, allocations: 4 kB / 413.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.2911, allocations: 34.5 kB / 413.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.2911, allocations: 0 / 413.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002932/0.2914, allocations: 109.7 kB / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.2915, allocations: 140.4 kB / 414 MB, free: 13.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.2917, allocations: 145.8 kB / 414.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.2917, allocations: 25.7 kB / 414.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.2918, allocations: 96.06 kB / 414.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.2918, allocations: 7.906 kB / 414.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.2918, allocations: 29.88 kB / 414.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2919, allocations: 318.8 kB / 414.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.902e-05/0.292, allocations: 15.98 kB / 414.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.618e-05/0.292, allocations: 40.28 kB / 414.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.2922, allocations: 64.22 kB / 414.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2922, allocations: 0 / 414.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001582/0.2923, allocations: 85.45 kB / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2924, allocations: 8.156 kB / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2924, allocations: 0 / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2924, allocations: 4 kB / 414.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.2925, allocations: 15.94 kB / 414.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.2925, allocations: 11.92 kB / 414.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.2926, allocations: 3.938 kB / 414.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.2926, allocations: 4 kB / 414.8 MB, free: 12.37 MB / 334.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 9.085e-05/0.2927, allocations: 121.8 kB / 414.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/0.2928, allocations: 65.53 kB / 415 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.2928, allocations: 15.83 kB / 415 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2928, allocations: 3.984 kB / 415 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2928, allocations: 4 kB / 415 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.2928, allocations: 3.938 kB / 415 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.293, allocations: 173.6 kB / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.293, allocations: 0 / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.554e-05/0.2931, allocations: 15.98 kB / 415.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2931, allocations: 0 / 415.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2931, allocations: 4 kB / 415.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2931, allocations: 64 / 415.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2931, allocations: 7.984 kB / 415.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.2933, allocations: 201.9 kB / 415.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.2934, allocations: 100.9 kB / 415.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.2934, allocations: 4 kB / 415.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.2935, allocations: 4.188 kB / 415.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.2936, allocations: 11.94 kB / 415.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.2936, allocations: 7.984 kB / 415.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.27e-05/0.2937, allocations: 107.3 kB / 415.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2937, allocations: 0 / 415.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000239/0.2939, allocations: 8 kB / 415.7 MB, free: 11.41 MB / 334.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.0001112/0.294, allocations: 99.23 kB / 415.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.2942, allocations: 55.86 kB / 415.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2942, allocations: 0 / 415.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.252e-05/0.2943, allocations: 11.98 kB / 415.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.2947, allocations: 34.14 kB / 415.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.2951, allocations: 232 kB / 416.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.2953, allocations: 0.6924 MB / 416.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.2954, allocations: 15.44 kB / 416.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2954, allocations: 0 / 416.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of Templates: time 0.002434/0.2978, allocations: 0.9357 MB / 417.7 MB, free: 9.27 MB / 334.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 -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