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.001036/0.001036, allocations: 112.5 kB / 17.06 MB, free: 6.012 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.001051/0.001051, allocations: 195.9 kB / 18 MB, free: 5.094 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.385/1.385, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009695/0.0009696, allocations: 47.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.37, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003196/0.3733, allocations: 1.608 MB / 402.3 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009593/0.3742, allocations: 0.4947 MB / 402.8 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.3744, allocations: 8 kB / 402.8 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.361e-05/0.3744, allocations: 7.875 kB / 402.8 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.3746, allocations: 11.88 kB / 402.9 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.3749, allocations: 58.88 kB / 402.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.375, allocations: 51.84 kB / 403 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3752, allocations: 19.92 kB / 403 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.662e-05/0.3753, allocations: 31.92 kB / 403 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.976e-05/0.3753, allocations: 19.86 kB / 403 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.3754, allocations: 4 kB / 403 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.533e-05/0.3754, allocations: 4 kB / 403 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.3754, allocations: 19.91 kB / 403.1 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.3755, allocations: 27.81 kB / 403.1 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.3756, allocations: 67.47 kB / 403.2 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3757, allocations: 0 / 403.2 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3757, allocations: 0 / 403.2 MB, free: 6.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.3757, allocations: 0 / 403.2 MB, free: 6.426 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.0005295/0.3762, allocations: 391 kB / 403.5 MB, free: 5.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3762, allocations: 12.03 kB / 403.5 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.3763, allocations: 12.84 kB / 403.6 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.3766, allocations: 202.1 kB / 403.8 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3766, allocations: 12.38 kB / 403.8 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.3766, allocations: 8.125 kB / 403.8 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.3769, allocations: 134.7 kB / 403.9 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.3769, allocations: 0 / 403.9 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.377, allocations: 0 / 403.9 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.377, allocations: 0 / 403.9 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.311e-05/0.3771, allocations: 31.92 kB / 403.9 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.3775, allocations: 291.5 kB / 404.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.3776, allocations: 94.36 kB / 404.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.037e-05/0.3777, allocations: 47.48 kB / 404.4 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.3777, allocations: 4 kB / 404.4 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.3778, allocations: 34.56 kB / 404.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3778, allocations: 3.938 kB / 404.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003031/0.3781, allocations: 105.5 kB / 404.5 MB, free: 4.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.3782, allocations: 136.5 kB / 404.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.3783, allocations: 148.8 kB / 404.8 MB, free: 4.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.3783, allocations: 29.7 kB / 404.8 MB, free: 4.488 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.538e-05/0.3784, allocations: 96.03 kB / 404.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.3784, allocations: 11.94 kB / 404.9 MB, free: 4.379 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.3785, allocations: 21.66 kB / 404.9 MB, free: 4.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3786, allocations: 318.8 kB / 405.3 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.734e-05/0.3786, allocations: 12 kB / 405.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-05/0.3787, allocations: 44.28 kB / 405.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.3788, allocations: 60.22 kB / 405.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3788, allocations: 0 / 405.4 MB, free: 3.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001466/0.379, allocations: 85.5 kB / 405.5 MB, free: 3.797 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.379, allocations: 8 kB / 405.5 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.379, allocations: 0 / 405.5 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.379, allocations: 0 / 405.5 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.014e-05/0.3791, allocations: 15.98 kB / 405.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3791, allocations: 0 / 405.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.3792, allocations: 11.88 kB / 405.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.3792, allocations: 12.16 kB / 405.5 MB, free: 3.75 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 9.893e-05/0.3793, allocations: 121.8 kB / 405.6 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-05/0.3794, allocations: 53.66 kB / 405.7 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.3794, allocations: 11.86 kB / 405.7 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3795, allocations: 4 kB / 405.7 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3795, allocations: 0 / 405.7 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3795, allocations: 7.938 kB / 405.7 MB, free: 3.535 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.3797, allocations: 177.6 kB / 405.9 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3797, allocations: 64 / 405.9 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-05/0.3798, allocations: 23.92 kB / 405.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3798, allocations: 0 / 405.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-06/0.3798, allocations: 0 / 405.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3798, allocations: 4.125 kB / 405.9 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3798, allocations: 4 kB / 405.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.38, allocations: 205.9 kB / 406.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/0.3801, allocations: 97.03 kB / 406.2 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3801, allocations: 7.938 kB / 406.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.3802, allocations: 0 / 406.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.3802, allocations: 11.92 kB / 406.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.3802, allocations: 0 / 406.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.839e-05/0.3803, allocations: 115.2 kB / 406.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3803, allocations: 0 / 406.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.3805, allocations: 12 kB / 406.3 MB, free: 2.797 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.0001365/0.3807, allocations: 99.98 kB / 406.4 MB, free: 2.691 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.3809, allocations: 43.91 kB / 406.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.3809, allocations: 0 / 406.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.29e-05/0.3809, allocations: 15.94 kB / 406.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.3813, allocations: 39.41 kB / 406.5 MB, free: 2.598 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/0.3817, allocations: 205.7 kB / 406.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.382, allocations: 0.6961 MB / 407.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.335e-05/0.382, allocations: 4.094 kB / 407.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.3821, allocations: 15.42 kB / 407.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3821, allocations: 0 / 407.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of Templates: time 0.003148/0.3852, allocations: 0.7142 MB / 408.2 MB, free: 0.9141 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/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