Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001159, allocations: 188.9 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.396/1.396, allocations: 222.9 MB / 240.9 MB, free: 10.97 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.001225/0.001225, allocations: 111.4 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 35.94 kB / 350 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3318, allocations: 49.44 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004094/0.3359, allocations: 1.904 MB / 401.4 MB, free: 31.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3371, allocations: 0.604 MB / 402 MB, free: 30.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.3374, allocations: 11.31 kB / 402 MB, free: 30.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.3375, allocations: 15.86 kB / 402 MB, free: 30.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.3377, allocations: 19.84 kB / 402 MB, free: 30.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.3381, allocations: 91.84 kB / 402.1 MB, free: 30.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.3383, allocations: 123.6 kB / 402.2 MB, free: 30.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.3385, allocations: 63.67 kB / 402.3 MB, free: 30.51 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.3386, allocations: 51.72 kB / 402.4 MB, free: 30.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.776e-05/0.3387, allocations: 51.64 kB / 402.4 MB, free: 30.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.3388, allocations: 4 kB / 402.4 MB, free: 30.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.088e-05/0.3388, allocations: 7.938 kB / 402.4 MB, free: 30.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/0.3389, allocations: 27.86 kB / 402.4 MB, free: 30.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.3389, allocations: 59.59 kB / 402.5 MB, free: 30.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.3391, allocations: 127.5 kB / 402.6 MB, free: 30.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3391, allocations: 0 / 402.6 MB, free: 30.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3392, allocations: 0 / 402.6 MB, free: 30.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.3392, allocations: 4 kB / 402.6 MB, free: 30.18 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006309/0.3398, allocations: 452.5 kB / 403.1 MB, free: 29.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3399, allocations: 8.031 kB / 403.1 MB, free: 29.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.3399, allocations: 20.66 kB / 403.1 MB, free: 29.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.3402, allocations: 237.7 kB / 403.3 MB, free: 29.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.3402, allocations: 8.125 kB / 403.3 MB, free: 29.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.3403, allocations: 15.94 kB / 403.4 MB, free: 29.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/0.3409, allocations: 293.3 kB / 403.6 MB, free: 29.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3409, allocations: 7.938 kB / 403.7 MB, free: 29.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.3409, allocations: 0 / 403.7 MB, free: 29.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3409, allocations: 4 kB / 403.7 MB, free: 29.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.3412, allocations: 71.89 kB / 403.7 MB, free: 28.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.3416, allocations: 435.4 kB / 404.2 MB, free: 28.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.3421, allocations: 290.1 kB / 404.4 MB, free: 28.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.3423, allocations: 116.3 kB / 404.5 MB, free: 28.01 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.3424, allocations: 11.98 kB / 404.6 MB, free: 28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.3424, allocations: 38.56 kB / 404.6 MB, free: 27.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.3424, allocations: 0 / 404.6 MB, free: 27.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006008/0.343, allocations: 213.5 kB / 404.8 MB, free: 27.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.009e-05/0.3431, allocations: 199.8 kB / 405 MB, free: 27.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.3433, allocations: 183.1 kB / 405.2 MB, free: 27.31 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.3433, allocations: 29.7 kB / 405.2 MB, free: 27.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.3434, allocations: 100.5 kB / 405.3 MB, free: 27.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.3434, allocations: 11.91 kB / 405.3 MB, free: 27.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.3435, allocations: 45.61 kB / 405.4 MB, free: 27.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.3436, allocations: 330.8 kB / 405.7 MB, free: 26.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.48e-05/0.3436, allocations: 23.98 kB / 405.7 MB, free: 26.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.3438, allocations: 139.4 kB / 405.8 MB, free: 26.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.344, allocations: 166.4 kB / 406 MB, free: 26.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.344, allocations: 0 / 406 MB, free: 26.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002998/0.3443, allocations: 185.1 kB / 406.2 MB, free: 26.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.3444, allocations: 4 kB / 406.2 MB, free: 26.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.3444, allocations: 4 kB / 406.2 MB, free: 26.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/0.3444, allocations: 4 kB / 406.2 MB, free: 26.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.3446, allocations: 39.92 kB / 406.2 MB, free: 26.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.3446, allocations: 8.516 kB / 406.2 MB, free: 26.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.3448, allocations: 27.86 kB / 406.3 MB, free: 26.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.3448, allocations: 11.94 kB / 406.3 MB, free: 26.06 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001099/0.3449, allocations: 137.9 kB / 406.4 MB, free: 25.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000294/0.3452, allocations: 145.4 kB / 406.6 MB, free: 25.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.3453, allocations: 17.41 kB / 406.6 MB, free: 25.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3453, allocations: 4 kB / 406.6 MB, free: 25.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3453, allocations: 32 / 406.6 MB, free: 25.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3453, allocations: 11.92 kB / 406.6 MB, free: 25.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.3456, allocations: 221.4 kB / 406.8 MB, free: 25.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3456, allocations: 7.938 kB / 406.8 MB, free: 25.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.3458, allocations: 39.97 kB / 406.9 MB, free: 25.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3458, allocations: 0 / 406.9 MB, free: 25.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.3458, allocations: 8 kB / 406.9 MB, free: 25.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3459, allocations: 0 / 406.9 MB, free: 25.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3459, allocations: 4 kB / 406.9 MB, free: 25.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007021/0.3466, allocations: 0.9828 MB / 407.9 MB, free: 24.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.3467, allocations: 120.8 kB / 408 MB, free: 24.22 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.3467, allocations: 11.94 kB / 408 MB, free: 24.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.3469, allocations: 7.984 kB / 408 MB, free: 24.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.347, allocations: 4 kB / 408 MB, free: 24.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.347, allocations: 8 kB / 408 MB, free: 24.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000103/0.3471, allocations: 137.2 kB / 408.1 MB, free: 24.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3471, allocations: 0 / 408.1 MB, free: 24.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005861/0.3477, allocations: 20 kB / 408.2 MB, free: 24.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001309/0.3478, allocations: 108.2 kB / 408.3 MB, free: 23.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003181/0.3482, allocations: 111.8 kB / 408.4 MB, free: 23.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3482, allocations: 1.062 kB / 408.4 MB, free: 23.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.93e-05/0.3482, allocations: 19.92 kB / 408.4 MB, free: 23.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008914/0.3491, allocations: 112.7 kB / 408.5 MB, free: 23.69 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007336/0.3499, allocations: 0.5154 MB / 409 MB, free: 23.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.3501, allocations: 0.7319 MB / 409.7 MB, free: 22.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.244e-05/0.3502, allocations: 13.55 kB / 409.8 MB, free: 22.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.3502, allocations: 19.42 kB / 409.8 MB, free: 22.33 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.3502, allocations: 0 / 409.8 MB, free: 22.33 MB / 298.7 MB Notification: Performance of Templates: time 0.004958/0.3552, allocations: 1.686 MB / 411.5 MB, free: 20.66 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches