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.008625/0.008625, allocations: 109.8 kB / 21.98 MB, free: 5.184 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.002162/0.002162, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.607/1.607, allocations: 230.6 MB / 259 MB, free: 8.027 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.002052/0.002052, allocations: 63.89 kB / 379.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3821, allocations: 53.36 MB / 433.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003689/0.3857, allocations: 1.646 MB / 434.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.3871, allocations: 0.5764 MB / 435.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.3873, allocations: 7.938 kB / 435.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.899e-05/0.3873, allocations: 3.938 kB / 435.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.3875, allocations: 19.84 kB / 435.4 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.3879, allocations: 59.81 kB / 435.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.3881, allocations: 51.86 kB / 435.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.3882, allocations: 23.91 kB / 435.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.3884, allocations: 31.86 kB / 435.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.91e-05/0.3884, allocations: 19.86 kB / 435.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.3885, allocations: 4 kB / 435.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.362e-05/0.3885, allocations: 12 kB / 435.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-05/0.3886, allocations: 19.91 kB / 435.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.3886, allocations: 31.75 kB / 435.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.3888, allocations: 72.92 kB / 435.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3888, allocations: 3.938 kB / 435.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3889, allocations: 0 / 435.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.433e-06/0.3889, allocations: 0 / 435.8 MB, free: 4.383 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.0006393/0.3895, allocations: 309.9 kB / 436.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.3896, allocations: 8.031 kB / 436.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.3898, allocations: 20.89 kB / 436.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.3901, allocations: 158.8 kB / 436.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.3901, allocations: 8.312 kB / 436.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.3902, allocations: 8.125 kB / 436.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.3905, allocations: 134.7 kB / 436.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3905, allocations: 0 / 436.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.3905, allocations: 4 kB / 436.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3905, allocations: 0 / 436.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.183e-05/0.3906, allocations: 27.92 kB / 436.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.3911, allocations: 262.5 kB / 436.7 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.3913, allocations: 90.42 kB / 436.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.3914, allocations: 47.42 kB / 436.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.3914, allocations: 3.984 kB / 436.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.3915, allocations: 38.56 kB / 436.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.3915, allocations: 0 / 436.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003633/0.3918, allocations: 105.7 kB / 437 MB, free: 2.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.392, allocations: 132.5 kB / 437.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.3921, allocations: 148.5 kB / 437.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3922, allocations: 25.7 kB / 437.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.974e-05/0.3923, allocations: 100 kB / 437.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.3923, allocations: 7.938 kB / 437.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.3923, allocations: 25.98 kB / 437.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.3926, allocations: 322.8 kB / 437.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.3926, allocations: 12 kB / 437.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.12e-05/0.3927, allocations: 40.28 kB / 437.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.3929, allocations: 64.22 kB / 437.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3929, allocations: 0 / 437.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002373/0.3931, allocations: 81.5 kB / 437.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3931, allocations: 12.16 kB / 437.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.3932, allocations: 0 / 437.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3932, allocations: 0 / 437.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.3933, allocations: 15.98 kB / 437.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3933, allocations: 0 / 437.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.3933, allocations: 7.938 kB / 437.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3933, allocations: 7.938 kB / 437.9 MB, free: 1.898 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.0001545/0.3935, allocations: 121.8 kB / 438.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3936, allocations: 61.66 kB / 438.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.373e-05/0.3937, allocations: 19.91 kB / 438.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3937, allocations: 3.938 kB / 438.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3937, allocations: 0 / 438.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3937, allocations: 7.938 kB / 438.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.3939, allocations: 144.7 kB / 438.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3939, allocations: 0 / 438.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.371e-05/0.394, allocations: 23.92 kB / 438.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.394, allocations: 0 / 438.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.394, allocations: 4.125 kB / 438.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.394, allocations: 4.062 kB / 438.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.394, allocations: 4 kB / 438.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.3942, allocations: 198 kB / 438.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.3943, allocations: 19.88 kB / 438.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.3943, allocations: 11.94 kB / 438.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.3944, allocations: 4 kB / 438.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.3944, allocations: 7.922 kB / 438.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3944, allocations: 4 kB / 438.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.3945, allocations: 114.2 kB / 438.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3945, allocations: 0 / 438.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.3948, allocations: 12 kB / 438.7 MB, free: 1.062 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.0001161/0.3949, allocations: 91.25 kB / 438.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.3951, allocations: 43.92 kB / 438.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3951, allocations: 0 / 438.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.929e-05/0.3951, allocations: 15.92 kB / 438.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.3955, allocations: 34.92 kB / 438.9 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000644/0.3962, allocations: 252 kB / 439.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.3966, allocations: 0.6924 MB / 439.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.3967, allocations: 11.44 kB / 439.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3967, allocations: 0 / 439.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Templates: time 0.003386/0.4001, allocations: 0.9458 MB / 440.8 MB, free: 14.92 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 7.284613579045981]