Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 109.8 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001389, allocations: 181.5 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 51.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2696, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003115/0.2728, allocations: 1.609 MB / 403 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2739, allocations: 498.6 kB / 403.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.274, allocations: 8 kB / 403.5 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.318e-05/0.2741, allocations: 7.875 kB / 403.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.2742, allocations: 19.86 kB / 403.5 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.2746, allocations: 51.81 kB / 403.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2747, allocations: 51.78 kB / 403.6 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2748, allocations: 27.97 kB / 403.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.02e-05/0.2749, allocations: 23.88 kB / 403.7 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.55e-05/0.275, allocations: 23.84 kB / 403.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.275, allocations: 4 kB / 403.7 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.418e-05/0.275, allocations: 4 kB / 403.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.2751, allocations: 15.92 kB / 403.7 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.424e-05/0.2751, allocations: 31.8 kB / 403.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.2753, allocations: 71.61 kB / 403.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2753, allocations: 0 / 403.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2753, allocations: 0 / 403.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.2753, allocations: 0 / 403.8 MB, free: 6.414 MB / 318.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.0004844/0.2758, allocations: 384.3 kB / 404.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2758, allocations: 15.97 kB / 404.2 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.794e-05/0.2759, allocations: 12.75 kB / 404.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.2762, allocations: 202 kB / 404.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.2762, allocations: 4.375 kB / 404.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.2763, allocations: 8.125 kB / 404.5 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.2766, allocations: 134.7 kB / 404.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2766, allocations: 0 / 404.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.2766, allocations: 4 kB / 404.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2767, allocations: 0 / 404.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.2768, allocations: 27.92 kB / 404.6 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004213/0.2772, allocations: 291.4 kB / 404.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.2774, allocations: 98.3 kB / 405 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.896e-05/0.2774, allocations: 47.55 kB / 405 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.2775, allocations: 0 / 405 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.2775, allocations: 38.56 kB / 405.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.2775, allocations: 0 / 405.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003192/0.2778, allocations: 101.4 kB / 405.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/0.2779, allocations: 136.5 kB / 405.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.2781, allocations: 144.8 kB / 405.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.2781, allocations: 29.7 kB / 405.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.2782, allocations: 100.1 kB / 405.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.2782, allocations: 3.906 kB / 405.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.2783, allocations: 17.72 kB / 405.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2784, allocations: 322.8 kB / 405.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.246e-05/0.2785, allocations: 11.98 kB / 405.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.276e-05/0.2785, allocations: 44.28 kB / 406 MB, free: 3.977 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.2787, allocations: 60.22 kB / 406 MB, free: 3.902 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2787, allocations: 3.938 kB / 406 MB, free: 3.898 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001683/0.2789, allocations: 89.45 kB / 406.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.2789, allocations: 8 kB / 406.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2789, allocations: 0 / 406.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2789, allocations: 4.062 kB / 406.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.267e-05/0.279, allocations: 16 kB / 406.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.279, allocations: 0 / 406.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.723e-05/0.2791, allocations: 11.92 kB / 406.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.2791, allocations: 8.156 kB / 406.2 MB, free: 3.758 MB / 318.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.0001138/0.2792, allocations: 117.8 kB / 406.3 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.2793, allocations: 61.59 kB / 406.3 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.323e-05/0.2794, allocations: 11.88 kB / 406.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2794, allocations: 0 / 406.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2794, allocations: 0 / 406.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.2794, allocations: 11.92 kB / 406.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.2796, allocations: 173.6 kB / 406.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2797, allocations: 64 / 406.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.162e-05/0.2797, allocations: 23.92 kB / 406.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.2797, allocations: 0 / 406.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.2798, allocations: 0 / 406.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.2798, allocations: 4 kB / 406.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2798, allocations: 0 / 406.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.28, allocations: 201.9 kB / 406.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.077e-05/0.2801, allocations: 100.9 kB / 406.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.2801, allocations: 4 kB / 406.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.2802, allocations: 0 / 406.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.2802, allocations: 11.94 kB / 406.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.2803, allocations: 3.984 kB / 406.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.815e-05/0.2803, allocations: 114.2 kB / 407 MB, free: 2.824 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2803, allocations: 0 / 407 MB, free: 2.824 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000246/0.2806, allocations: 12 kB / 407 MB, free: 2.812 MB / 318.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.0001252/0.2807, allocations: 104 kB / 407.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.2809, allocations: 43.91 kB / 407.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2809, allocations: 0 / 407.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.626e-05/0.281, allocations: 15.92 kB / 407.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.2814, allocations: 40.55 kB / 407.2 MB, free: 2.605 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.2819, allocations: 219.5 kB / 407.4 MB, free: 2.348 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.2822, allocations: 0.7 MB / 408.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.2822, allocations: 15.44 kB / 408.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2822, allocations: 4.031 kB / 408.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of Templates: time 0.002597/0.2848, allocations: 0.9212 MB / 409.1 MB, free: 0.6836 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches