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.001328/0.001328, allocations: 112.3 kB / 17.74 MB, free: 5.336 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.001636/0.001636, allocations: 187 kB / 18.67 MB, free: 4.41 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.583/1.583, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008837/0.0008837, allocations: 51.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3531, allocations: 49.42 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003299/0.3564, allocations: 1.612 MB / 403 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3575, allocations: 0.4947 MB / 403.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.3577, allocations: 7.938 kB / 403.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.981e-05/0.3578, allocations: 3.938 kB / 403.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.358, allocations: 15.86 kB / 403.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.3583, allocations: 51.83 kB / 403.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.3585, allocations: 55.78 kB / 403.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.3586, allocations: 19.98 kB / 403.7 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.385e-05/0.3587, allocations: 27.86 kB / 403.7 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.83e-05/0.3588, allocations: 19.86 kB / 403.7 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.3588, allocations: 4 kB / 403.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.677e-05/0.3589, allocations: 4 kB / 403.7 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.372e-05/0.3589, allocations: 19.92 kB / 403.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.335e-05/0.359, allocations: 35.73 kB / 403.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.3592, allocations: 67.72 kB / 403.8 MB, free: 6.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3592, allocations: 0 / 403.8 MB, free: 6.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3592, allocations: 0 / 403.8 MB, free: 6.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3592, allocations: 0 / 403.8 MB, free: 6.43 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.0006201/0.3598, allocations: 372.3 kB / 404.2 MB, free: 6.023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.3599, allocations: 15.97 kB / 404.2 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.3599, allocations: 12.75 kB / 404.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.3602, allocations: 206.2 kB / 404.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.3603, allocations: 12.31 kB / 404.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.3603, allocations: 8.125 kB / 404.5 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.3606, allocations: 130.7 kB / 404.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3607, allocations: 0 / 404.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.3607, allocations: 3.984 kB / 404.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3607, allocations: 0 / 404.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.945e-05/0.3608, allocations: 35.91 kB / 404.6 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.3612, allocations: 291.4 kB / 404.9 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.3614, allocations: 86.36 kB / 405 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.6e-05/0.3615, allocations: 55.55 kB / 405 MB, free: 5.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.3615, allocations: 3.984 kB / 405.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.3616, allocations: 38.5 kB / 405.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.3616, allocations: 0 / 405.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003262/0.3619, allocations: 97.7 kB / 405.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/0.362, allocations: 136.5 kB / 405.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.3622, allocations: 147.9 kB / 405.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.3622, allocations: 25.7 kB / 405.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.3623, allocations: 100 kB / 405.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.3623, allocations: 7.906 kB / 405.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.3624, allocations: 22.03 kB / 405.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3625, allocations: 318.8 kB / 405.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-05/0.3625, allocations: 12 kB / 405.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.918e-05/0.3626, allocations: 40.28 kB / 406 MB, free: 3.992 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.3627, allocations: 64.22 kB / 406 MB, free: 3.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3627, allocations: 3.938 kB / 406 MB, free: 3.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001516/0.3629, allocations: 81.45 kB / 406.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3629, allocations: 12.16 kB / 406.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3629, allocations: 0 / 406.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.363, allocations: 3.984 kB / 406.1 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.796e-05/0.3631, allocations: 12 kB / 406.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3631, allocations: 0 / 406.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.3631, allocations: 11.94 kB / 406.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.3632, allocations: 12.05 kB / 406.2 MB, free: 3.773 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.0001047/0.3633, allocations: 113.8 kB / 406.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.3634, allocations: 65.59 kB / 406.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.3635, allocations: 15.81 kB / 406.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3635, allocations: 0 / 406.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3635, allocations: 0 / 406.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.3635, allocations: 7.938 kB / 406.4 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.3637, allocations: 181.5 kB / 406.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3637, allocations: 0 / 406.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.566e-05/0.3638, allocations: 15.98 kB / 406.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3638, allocations: 0 / 406.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.3638, allocations: 3.938 kB / 406.6 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3638, allocations: 4.062 kB / 406.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3638, allocations: 4 kB / 406.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.364, allocations: 197.9 kB / 406.8 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.3641, allocations: 96.94 kB / 406.9 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.3641, allocations: 11.98 kB / 406.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.3642, allocations: 0 / 406.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.3643, allocations: 7.938 kB / 406.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3643, allocations: 0 / 406.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.709e-05/0.3644, allocations: 118.2 kB / 407 MB, free: 2.836 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3644, allocations: 0 / 407 MB, free: 2.836 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.3646, allocations: 8 kB / 407 MB, free: 2.828 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.0001429/0.3648, allocations: 99.98 kB / 407.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.365, allocations: 51.84 kB / 407.2 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.365, allocations: 0 / 407.2 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.463e-05/0.365, allocations: 12 kB / 407.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.3654, allocations: 34.64 kB / 407.2 MB, free: 2.629 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005075/0.366, allocations: 232.2 kB / 407.4 MB, free: 2.359 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.3663, allocations: 0.6961 MB / 408.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.3663, allocations: 15.42 kB / 408.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3663, allocations: 0 / 408.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of Templates: time 0.002603/0.369, allocations: 0.9368 MB / 409.1 MB, free: 0.6875 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