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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 118.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 213.1 kB / 18.79 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.622/1.622, allocations: 230.4 MB / 250 MB, free: 9.035 MB / 206.1 MB 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.003118/0.003118, allocations: 75.81 kB / 367.4 MB, free: 7.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3985, allocations: 53.3 MB / 420.7 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.0031/0.4016, allocations: 1.619 MB / 422.3 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.4028, allocations: 0.5726 MB / 422.9 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.98e-05/0.4029, allocations: 7.938 kB / 422.9 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.826e-05/0.403, allocations: 7.875 kB / 422.9 MB, free: 6.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.4031, allocations: 11.88 kB / 422.9 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.4035, allocations: 67.8 kB / 422.9 MB, free: 6.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.4036, allocations: 47.84 kB / 423 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.4037, allocations: 27.98 kB / 423 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.4039, allocations: 31.8 kB / 423.1 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.913e-05/0.4039, allocations: 27.84 kB / 423.1 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.4039, allocations: 4 kB / 423.1 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.474e-05/0.404, allocations: 8 kB / 423.1 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.404, allocations: 15.92 kB / 423.1 MB, free: 6.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.4041, allocations: 27.75 kB / 423.1 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.4042, allocations: 67.67 kB / 423.2 MB, free: 5.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.4043, allocations: 3.984 kB / 423.2 MB, free: 5.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4043, allocations: 0 / 423.2 MB, free: 5.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.4043, allocations: 7.938 kB / 423.2 MB, free: 5.934 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.0006004/0.4049, allocations: 383.1 kB / 423.6 MB, free: 5.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.4049, allocations: 8.031 kB / 423.6 MB, free: 5.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.4051, allocations: 20.88 kB / 423.6 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.4054, allocations: 208.7 kB / 423.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.4054, allocations: 8.375 kB / 423.8 MB, free: 5.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.4054, allocations: 16.06 kB / 423.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.4057, allocations: 126.7 kB / 424 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4058, allocations: 0 / 424 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.4058, allocations: 4 kB / 424 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4058, allocations: 4 kB / 424 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.642e-05/0.4059, allocations: 31.91 kB / 424 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.4063, allocations: 279.5 kB / 424.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.4065, allocations: 94.42 kB / 424.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.4066, allocations: 47.36 kB / 424.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.4066, allocations: 7.984 kB / 424.4 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.4066, allocations: 46.55 kB / 424.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.4066, allocations: 0 / 424.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003249/0.407, allocations: 97.5 kB / 424.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.92e-05/0.4071, allocations: 137 kB / 424.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.4072, allocations: 147.9 kB / 424.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.4072, allocations: 25.7 kB / 424.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.4073, allocations: 100 kB / 425 MB, free: 3.891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.4073, allocations: 7.953 kB / 425 MB, free: 3.883 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.4074, allocations: 25.61 kB / 425 MB, free: 3.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4075, allocations: 322.8 kB / 425.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.903e-05/0.4076, allocations: 11.98 kB / 425.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.135e-05/0.4076, allocations: 44.3 kB / 425.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.4077, allocations: 56.22 kB / 425.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.4077, allocations: 7.984 kB / 425.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001749/0.4079, allocations: 81.52 kB / 425.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4079, allocations: 11.98 kB / 425.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.4079, allocations: 0 / 425.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.408, allocations: 0 / 425.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.408, allocations: 16.16 kB / 425.5 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4081, allocations: 3.984 kB / 425.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.4081, allocations: 11.92 kB / 425.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.4081, allocations: 4 kB / 425.6 MB, free: 3.246 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.0001029/0.4082, allocations: 113.8 kB / 425.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.747e-05/0.4083, allocations: 61.58 kB / 425.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.4084, allocations: 15.83 kB / 425.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.4084, allocations: 7.938 kB / 425.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4084, allocations: 4.062 kB / 425.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4084, allocations: 3.938 kB / 425.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.4086, allocations: 181.6 kB / 425.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4086, allocations: 0 / 425.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-05/0.4087, allocations: 19.92 kB / 426 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4087, allocations: 0 / 426 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4087, allocations: 4 kB / 426 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.4087, allocations: 4 kB / 426 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4087, allocations: 0 / 426 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.4089, allocations: 202 kB / 426.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/0.409, allocations: 101 kB / 426.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.409, allocations: 4.188 kB / 426.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.4091, allocations: 8 kB / 426.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.4091, allocations: 11.88 kB / 426.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.4091, allocations: 7.938 kB / 426.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.035e-05/0.4092, allocations: 112.6 kB / 426.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4092, allocations: 0 / 426.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.4095, allocations: 12 kB / 426.4 MB, free: 2.273 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.0001261/0.4096, allocations: 95.25 kB / 426.5 MB, free: 2.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.4098, allocations: 44.16 kB / 426.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4098, allocations: 4.062 kB / 426.6 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/0.4098, allocations: 15.92 kB / 426.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.4102, allocations: 34.66 kB / 426.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.4107, allocations: 197.5 kB / 426.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.411, allocations: 0.7005 MB / 427.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.919e-05/0.4111, allocations: 4 kB / 427.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.4111, allocations: 15.44 kB / 427.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4111, allocations: 0 / 427.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of Templates: time 0.003883/0.415, allocations: 0.719 MB / 428.2 MB, free: 408 kB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (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) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/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) Reference file matches