Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001953/0.001953, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002369/0.002369, allocations: 205.6 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.609/1.609, allocations: 230.4 MB / 258.1 MB, free: 8.129 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 71.83 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3224, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003314/0.3257, allocations: 1.64 MB / 433.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.3269, allocations: 0.5688 MB / 434.3 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.327, allocations: 0 / 434.3 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.35e-05/0.3271, allocations: 11.86 kB / 434.3 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.3272, allocations: 19.86 kB / 434.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.3276, allocations: 63.75 kB / 434.4 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.3278, allocations: 59.78 kB / 434.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3279, allocations: 11.98 kB / 434.4 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.3281, allocations: 31.86 kB / 434.5 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.11e-05/0.3281, allocations: 27.84 kB / 434.5 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.3282, allocations: 4 kB / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.775e-05/0.3282, allocations: 4 kB / 434.5 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.255e-05/0.3283, allocations: 15.92 kB / 434.5 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.986e-05/0.3284, allocations: 35.73 kB / 434.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.3286, allocations: 73.64 kB / 434.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3286, allocations: 0 / 434.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3286, allocations: 0 / 434.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.3286, allocations: 0 / 434.6 MB, free: 4.809 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006775/0.3293, allocations: 391 kB / 435 MB, free: 4.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3293, allocations: 15.97 kB / 435 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.3295, allocations: 16.88 kB / 435 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.3298, allocations: 216.6 kB / 435.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-06/0.3298, allocations: 384 / 435.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.3298, allocations: 12.11 kB / 435.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.3301, allocations: 134.7 kB / 435.4 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3302, allocations: 4 kB / 435.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.3302, allocations: 4 kB / 435.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3302, allocations: 0 / 435.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.769e-05/0.3303, allocations: 27.92 kB / 435.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.3307, allocations: 287.5 kB / 435.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.3309, allocations: 86.36 kB / 435.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.364e-05/0.3309, allocations: 47.55 kB / 435.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.331, allocations: 7.938 kB / 435.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.331, allocations: 30.56 kB / 435.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.331, allocations: 4 kB / 435.9 MB, free: 3.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003352/0.3313, allocations: 105.9 kB / 436 MB, free: 3.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.3314, allocations: 132.5 kB / 436.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.3316, allocations: 142.4 kB / 436.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3316, allocations: 29.7 kB / 436.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.3317, allocations: 96.02 kB / 436.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.3317, allocations: 11.94 kB / 436.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.3318, allocations: 21.67 kB / 436.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.332, allocations: 322.9 kB / 436.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.263e-05/0.332, allocations: 12 kB / 436.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.017e-05/0.3321, allocations: 52.22 kB / 436.8 MB, free: 2.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.3322, allocations: 60.22 kB / 436.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3322, allocations: 3.938 kB / 436.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001727/0.3324, allocations: 81.56 kB / 436.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3324, allocations: 6.656 kB / 436.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3324, allocations: 8.094 kB / 436.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.3324, allocations: 4 kB / 436.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.689e-05/0.3325, allocations: 11.98 kB / 437 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.3325, allocations: 4 kB / 437 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.3326, allocations: 7.938 kB / 437 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.3326, allocations: 0 / 437 MB, free: 2.121 MB / 334.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.0001085/0.3327, allocations: 125.8 kB / 437.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.996e-05/0.3328, allocations: 57.58 kB / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/0.3328, allocations: 23.83 kB / 437.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3328, allocations: 0 / 437.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3328, allocations: 4 kB / 437.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.3328, allocations: 3.938 kB / 437.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.3331, allocations: 177.6 kB / 437.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3331, allocations: 4 kB / 437.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-05/0.3331, allocations: 11.98 kB / 437.4 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.3331, allocations: 4 kB / 437.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.3331, allocations: 0 / 437.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3332, allocations: 3.938 kB / 437.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3332, allocations: 8 kB / 437.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.3334, allocations: 194 kB / 437.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.3335, allocations: 101 kB / 437.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.3335, allocations: 0 / 437.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.123e-05/0.3336, allocations: 11.98 kB / 437.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.3336, allocations: 4.125 kB / 437.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.3336, allocations: 8 kB / 437.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.96e-05/0.3337, allocations: 117.4 kB / 437.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3337, allocations: 0 / 437.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000244/0.334, allocations: 12 kB / 437.8 MB, free: 1.16 MB / 334.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.0001201/0.3341, allocations: 95.25 kB / 437.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.3343, allocations: 47.91 kB / 438 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3343, allocations: 0 / 438 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.631e-05/0.3343, allocations: 12 kB / 438 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.3347, allocations: 31.94 kB / 438 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.3352, allocations: 222.1 kB / 438.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.3356, allocations: 0.6962 MB / 438.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.068e-05/0.3356, allocations: 11.97 kB / 438.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.3357, allocations: 11.44 kB / 438.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3357, allocations: 0 / 438.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of Templates: time 0.00381/0.3395, allocations: 0.7385 MB / 439.7 MB, free: 15.24 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.019560907036066]