Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.569/1.569, allocations: 230.6 MB / 257.5 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 43.94 kB / 378.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3346, allocations: 53.36 MB / 431.6 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003719/0.3383, allocations: 1.894 MB / 433.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.3397, allocations: 0.7245 MB / 434.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.3399, allocations: 7.938 kB / 434.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.34, allocations: 19.73 kB / 434.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.3402, allocations: 27.78 kB / 434.3 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.3407, allocations: 107.7 kB / 434.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.3409, allocations: 143.6 kB / 434.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.341, allocations: 49.89 kB / 434.6 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.3412, allocations: 67.72 kB / 434.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.3413, allocations: 55.64 kB / 434.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.3414, allocations: 8 kB / 434.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.195e-05/0.3414, allocations: 16 kB / 434.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.3415, allocations: 31.91 kB / 434.8 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.356e-05/0.3416, allocations: 63.55 kB / 434.8 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.3419, allocations: 153.5 kB / 435 MB, free: 3.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3419, allocations: 0 / 435 MB, free: 3.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3419, allocations: 0 / 435 MB, free: 3.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.3419, allocations: 0 / 435 MB, free: 3.598 MB / 334.1 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.0006937/0.3426, allocations: 389.6 kB / 435.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3427, allocations: 8.031 kB / 435.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.3428, allocations: 28.83 kB / 435.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.3432, allocations: 190.2 kB / 435.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.3432, allocations: 12.12 kB / 435.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.3432, allocations: 12 kB / 435.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006134/0.3439, allocations: 285 kB / 435.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3439, allocations: 0 / 435.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.3439, allocations: 4 kB / 435.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3439, allocations: 0 / 435.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.3441, allocations: 75.88 kB / 436 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.3447, allocations: 402.5 kB / 436.4 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.3452, allocations: 201 kB / 436.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.3454, allocations: 112.3 kB / 436.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.3454, allocations: 11.98 kB / 436.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.3454, allocations: 34.56 kB / 436.7 MB, free: 1.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.3454, allocations: 3.938 kB / 436.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006262/0.3461, allocations: 229.4 kB / 436.9 MB, free: 1.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/0.3462, allocations: 187.9 kB / 437.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.3465, allocations: 187.1 kB / 437.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.3465, allocations: 25.7 kB / 437.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.3466, allocations: 108.4 kB / 437.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.3466, allocations: 16.22 kB / 437.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.3467, allocations: 41.66 kB / 437.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.3469, allocations: 326.8 kB / 437.8 MB, free: 488 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.119e-05/0.347, allocations: 23.98 kB / 437.8 MB, free: 464 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.3472, allocations: 143.4 kB / 438 MB, free: 264 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.3474, allocations: 166.4 kB / 438.1 MB, free: 44 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3474, allocations: 15.81 kB / 438.2 MB, free: 28 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003197/0.3477, allocations: 173.3 kB / 438.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.3477, allocations: 8 kB / 438.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3477, allocations: 0 / 438.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.3478, allocations: 8 kB / 438.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3479, allocations: 40.44 kB / 438.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.3479, allocations: 11.94 kB / 438.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.3481, allocations: 19.89 kB / 438.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.3481, allocations: 8 kB / 438.4 MB, free: 15.75 MB / 350.1 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.0001723/0.3482, allocations: 141.7 kB / 438.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003623/0.3486, allocations: 141.5 kB / 438.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.256e-05/0.3487, allocations: 25.39 kB / 438.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.3487, allocations: 8.031 kB / 438.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.3487, allocations: 4 kB / 438.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.3487, allocations: 3.938 kB / 438.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.3492, allocations: 192.5 kB / 438.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3492, allocations: 0 / 438.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.3493, allocations: 35.98 kB / 439 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.3493, allocations: 7.938 kB / 439 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.3494, allocations: 3.984 kB / 439 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3494, allocations: 4 kB / 439 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.3494, allocations: 3.938 kB / 439 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.3498, allocations: 363.8 kB / 439.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-05/0.3499, allocations: 31.89 kB / 439.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.35, allocations: 12 kB / 439.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.3501, allocations: 7.984 kB / 439.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.3502, allocations: 7.938 kB / 439.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.3502, allocations: 8 kB / 439.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.3503, allocations: 132.4 kB / 439.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3503, allocations: 0 / 439.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003374/0.3506, allocations: 31.89 kB / 439.6 MB, free: 14.53 MB / 350.1 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.0001392/0.3508, allocations: 103.2 kB / 439.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003142/0.3511, allocations: 115.8 kB / 439.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3511, allocations: 0 / 439.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.982e-05/0.3511, allocations: 20.98 kB / 439.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.3518, allocations: 105.3 kB / 439.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006768/0.3525, allocations: 319.4 kB / 440.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.3529, allocations: 0.732 MB / 440.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.061e-05/0.353, allocations: 17.42 kB / 441 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.353, allocations: 19.44 kB / 441 MB, free: 13.04 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.353, allocations: 0 / 441 MB, free: 13.04 MB / 350.1 MB Notification: Performance of Templates: time 0.005764/0.3588, allocations: 1.872 MB / 442.8 MB, free: 11.19 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.063508020946756]