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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 193.1 kB / 24.47 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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=5011,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=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 47.92 kB / 371.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.302, allocations: 52.17 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003059/0.305, allocations: 1.643 MB / 425.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000912/0.3059, allocations: 0.5026 MB / 426 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.729e-05/0.306, allocations: 7.938 kB / 426 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.237e-05/0.3061, allocations: 7.922 kB / 426 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.3062, allocations: 11.88 kB / 426.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.3065, allocations: 51.83 kB / 426.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.3066, allocations: 59.77 kB / 426.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3067, allocations: 15.98 kB / 426.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.903e-05/0.3068, allocations: 27.8 kB / 426.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.397e-05/0.3069, allocations: 27.86 kB / 426.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3069, allocations: 4 kB / 426.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.3069, allocations: 4 kB / 426.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.307, allocations: 15.92 kB / 426.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.505e-05/0.307, allocations: 31.8 kB / 426.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.3071, allocations: 59.39 kB / 426.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3071, allocations: 8 kB / 426.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3071, allocations: 0 / 426.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3071, allocations: 0 / 426.4 MB, free: 12.2 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.0004907/0.3076, allocations: 307.5 kB / 426.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3077, allocations: 8.031 kB / 426.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.3077, allocations: 16.78 kB / 426.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.308, allocations: 150.9 kB / 426.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.308, allocations: 384 / 426.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.308, allocations: 12.12 kB / 426.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.3083, allocations: 130.7 kB / 427 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3083, allocations: 4 kB / 427 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.3084, allocations: 0 / 427 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3084, allocations: 7.984 kB / 427 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.887e-05/0.3084, allocations: 27.91 kB / 427 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.3088, allocations: 258.5 kB / 427.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.3089, allocations: 90.36 kB / 427.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.225e-05/0.309, allocations: 51.55 kB / 427.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.309, allocations: 0 / 427.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.3091, allocations: 38.48 kB / 427.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3091, allocations: 4 kB / 427.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002921/0.3094, allocations: 97.94 kB / 427.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.3095, allocations: 136.5 kB / 427.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.3096, allocations: 147.2 kB / 427.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3096, allocations: 29.7 kB / 427.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.3097, allocations: 96.03 kB / 427.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.3097, allocations: 7.938 kB / 427.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.3097, allocations: 17.72 kB / 428 MB, free: 10.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3099, allocations: 326.9 kB / 428.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.773e-05/0.3099, allocations: 12 kB / 428.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.345e-05/0.31, allocations: 40.28 kB / 428.3 MB, free: 9.953 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.3101, allocations: 64.22 kB / 428.4 MB, free: 9.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3101, allocations: 0 / 428.4 MB, free: 9.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001506/0.3102, allocations: 85.56 kB / 428.5 MB, free: 9.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3103, allocations: 10.34 kB / 428.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.3103, allocations: 8.156 kB / 428.5 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3103, allocations: 0 / 428.5 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.774e-05/0.3104, allocations: 19.92 kB / 428.5 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3104, allocations: 0 / 428.5 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.3104, allocations: 11.88 kB / 428.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3105, allocations: 4 kB / 428.5 MB, free: 9.734 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 9.629e-05/0.3105, allocations: 121.8 kB / 428.6 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/0.3106, allocations: 61.58 kB / 428.7 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.3107, allocations: 16.03 kB / 428.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3107, allocations: 0 / 428.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3107, allocations: 0 / 428.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.3107, allocations: 7.938 kB / 428.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.3109, allocations: 148.7 kB / 428.9 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3109, allocations: 0 / 428.9 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.807e-05/0.3109, allocations: 19.92 kB / 428.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.311, allocations: 0 / 428.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.311, allocations: 0 / 428.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.311, allocations: 4 kB / 428.9 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.311, allocations: 0 / 428.9 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.3112, allocations: 205.9 kB / 429.1 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.3112, allocations: 19.94 kB / 429.1 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.3112, allocations: 0 / 429.1 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.3113, allocations: 8 kB / 429.1 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.3114, allocations: 7.922 kB / 429.1 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.3114, allocations: 4 kB / 429.1 MB, free: 9.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.192e-05/0.3114, allocations: 109.3 kB / 429.2 MB, free: 8.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3114, allocations: 4 kB / 429.2 MB, free: 8.926 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.3117, allocations: 8 kB / 429.3 MB, free: 8.918 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.0001024/0.3118, allocations: 99.19 kB / 429.4 MB, free: 8.812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.3119, allocations: 47.92 kB / 429.4 MB, free: 8.766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.312, allocations: 0 / 429.4 MB, free: 8.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.614e-05/0.312, allocations: 11.98 kB / 429.4 MB, free: 8.754 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.3124, allocations: 31.95 kB / 429.4 MB, free: 8.723 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.3128, allocations: 232.4 kB / 429.7 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3131, allocations: 0.7 MB / 430.4 MB, free: 7.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.3132, allocations: 11.44 kB / 430.4 MB, free: 7.715 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3132, allocations: 0 / 430.4 MB, free: 7.715 MB / 334.1 MB Notification: Performance of Templates: time 0.002635/0.3158, allocations: 0.9353 MB / 431.3 MB, free: 6.785 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.882830599788576]