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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009899/0.0009901, allocations: 104.3 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000876/0.0008761, allocations: 39.94 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3166, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003215/0.3198, allocations: 1.651 MB / 401.1 MB, free: 31.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009303/0.3208, allocations: 498.7 kB / 401.6 MB, free: 31.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.786e-05/0.3209, allocations: 7.938 kB / 401.6 MB, free: 31.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.67e-05/0.321, allocations: 10.39 kB / 401.6 MB, free: 31.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.3212, allocations: 3.938 kB / 401.6 MB, free: 31.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.3215, allocations: 52.33 kB / 401.7 MB, free: 31.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.3216, allocations: 51.8 kB / 401.7 MB, free: 31.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3217, allocations: 23.97 kB / 401.8 MB, free: 31.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.887e-05/0.3218, allocations: 19.88 kB / 401.8 MB, free: 31.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.3219, allocations: 23.86 kB / 401.8 MB, free: 31.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.3219, allocations: 0 / 401.8 MB, free: 31.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/0.322, allocations: 4 kB / 401.8 MB, free: 31.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.322, allocations: 19.91 kB / 401.8 MB, free: 31.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.3221, allocations: 31.8 kB / 401.9 MB, free: 30.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.3222, allocations: 55.73 kB / 401.9 MB, free: 30.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3222, allocations: 4 kB / 401.9 MB, free: 30.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3222, allocations: 4 kB / 401.9 MB, free: 30.92 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.3222, allocations: 4 kB / 401.9 MB, free: 30.92 MB / 298.7 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.0004799/0.3227, allocations: 380.6 kB / 402.3 MB, free: 30.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3228, allocations: 12.02 kB / 402.3 MB, free: 30.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.3228, allocations: 8.844 kB / 402.3 MB, free: 30.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.323, allocations: 200.6 kB / 402.5 MB, free: 30.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3231, allocations: 4.375 kB / 402.5 MB, free: 30.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.3231, allocations: 12.12 kB / 402.5 MB, free: 30.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.3234, allocations: 134.7 kB / 402.7 MB, free: 30.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3235, allocations: 0 / 402.7 MB, free: 30.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.3235, allocations: 7.984 kB / 402.7 MB, free: 30.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3235, allocations: 0 / 402.7 MB, free: 30.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.3236, allocations: 27.92 kB / 402.7 MB, free: 30.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.324, allocations: 291.4 kB / 403 MB, free: 29.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.3242, allocations: 98.42 kB / 403.1 MB, free: 29.56 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3243, allocations: 47.42 kB / 403.1 MB, free: 29.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.3244, allocations: 4 kB / 403.1 MB, free: 29.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.3244, allocations: 38.56 kB / 403.2 MB, free: 29.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.674e-06/0.3244, allocations: 0 / 403.2 MB, free: 29.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003903/0.3248, allocations: 101.4 kB / 403.3 MB, free: 29.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.3249, allocations: 141 kB / 403.4 MB, free: 29.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.325, allocations: 145.8 kB / 403.5 MB, free: 29.03 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.3251, allocations: 29.7 kB / 403.6 MB, free: 28.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.3251, allocations: 91.98 kB / 403.7 MB, free: 28.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.3251, allocations: 7.984 kB / 403.7 MB, free: 28.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.3252, allocations: 21.62 kB / 403.7 MB, free: 28.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.886e-05/0.3252, allocations: 322.8 kB / 404 MB, free: 28.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.09e-05/0.3253, allocations: 11.94 kB / 404 MB, free: 28.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.3254, allocations: 48.28 kB / 404.1 MB, free: 28.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.3255, allocations: 60.22 kB / 404.1 MB, free: 28.39 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3255, allocations: 0 / 404.1 MB, free: 28.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001934/0.3257, allocations: 81.55 kB / 404.2 MB, free: 28.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3258, allocations: 4 kB / 404.2 MB, free: 28.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3258, allocations: 4 kB / 404.2 MB, free: 28.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3258, allocations: 0 / 404.2 MB, free: 28.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.3259, allocations: 15.98 kB / 404.2 MB, free: 28.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3259, allocations: 0 / 404.2 MB, free: 28.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.326, allocations: 16 kB / 404.2 MB, free: 28.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.326, allocations: 3.938 kB / 404.2 MB, free: 28.26 MB / 298.7 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 6.929e-05/0.3261, allocations: 129.8 kB / 404.4 MB, free: 28.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.3262, allocations: 53.55 kB / 404.4 MB, free: 28.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.3263, allocations: 15.86 kB / 404.4 MB, free: 28.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3263, allocations: 4 kB / 404.4 MB, free: 28.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3263, allocations: 0 / 404.4 MB, free: 28.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3263, allocations: 3.938 kB / 404.4 MB, free: 28.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.3265, allocations: 177.7 kB / 404.6 MB, free: 27.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3266, allocations: 4 kB / 404.6 MB, free: 27.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-05/0.3267, allocations: 15.98 kB / 404.6 MB, free: 27.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.3267, allocations: 7.938 kB / 404.6 MB, free: 27.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3267, allocations: 0 / 404.6 MB, free: 27.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3267, allocations: 128 / 404.6 MB, free: 27.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3267, allocations: 8 kB / 404.7 MB, free: 27.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/0.3272, allocations: 0.7615 MB / 405.4 MB, free: 26.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.3273, allocations: 100.9 kB / 405.5 MB, free: 26.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.3273, allocations: 4 kB / 405.5 MB, free: 26.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.3274, allocations: 4 kB / 405.5 MB, free: 26.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.3275, allocations: 8 kB / 405.5 MB, free: 26.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.3275, allocations: 7.984 kB / 405.5 MB, free: 26.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.236e-05/0.3276, allocations: 105.5 kB / 405.6 MB, free: 26.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3276, allocations: 0 / 405.6 MB, free: 26.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006056/0.3282, allocations: 8 kB / 405.6 MB, free: 26.7 MB / 298.7 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 8.952e-05/0.3283, allocations: 107.2 kB / 405.8 MB, free: 26.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.3285, allocations: 40.11 kB / 405.8 MB, free: 26.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3285, allocations: 8.062 kB / 405.8 MB, free: 26.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.905e-05/0.3286, allocations: 11.98 kB / 405.8 MB, free: 26.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/0.3292, allocations: 40.58 kB / 405.8 MB, free: 26.49 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.3297, allocations: 345.8 kB / 406.2 MB, free: 26.1 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.3299, allocations: 0.6965 MB / 406.9 MB, free: 25.38 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.754e-05/0.3299, allocations: 4 kB / 406.9 MB, free: 25.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.33, allocations: 11.44 kB / 406.9 MB, free: 25.36 MB / 298.7 MB Notification: Performance of SimCode: time 3.3e-07/0.33, allocations: 4 kB / 406.9 MB, free: 25.36 MB / 298.7 MB Notification: Performance of Templates: time 0.003464/0.3334, allocations: 0.6793 MB / 407.6 MB, free: 24.69 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches