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.HoldWithDAeffects2.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.001377/0.001377, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001395/0.001395, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.509/1.509, 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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [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.001999/0.001999, allocations: 75.83 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3119, allocations: 53.32 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003513/0.3154, allocations: 1.878 MB / 433.9 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.3168, allocations: 0.7091 MB / 434.7 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.3169, allocations: 7.938 kB / 434.7 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.3171, allocations: 19.8 kB / 434.7 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.3172, allocations: 27.78 kB / 434.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.3177, allocations: 118.9 kB / 434.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.3179, allocations: 143.6 kB / 435 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.3181, allocations: 45.7 kB / 435 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.3183, allocations: 71.7 kB / 435.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.3184, allocations: 51.66 kB / 435.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.3184, allocations: 11.94 kB / 435.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.527e-05/0.3184, allocations: 16 kB / 435.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.3185, allocations: 31.91 kB / 435.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.144e-05/0.3186, allocations: 67.53 kB / 435.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.3188, allocations: 140.9 kB / 435.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3188, allocations: 0 / 435.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3188, allocations: 0 / 435.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3189, allocations: 0 / 435.4 MB, free: 4.035 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.0006786/0.3195, allocations: 470.7 kB / 435.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3196, allocations: 8.031 kB / 435.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.3198, allocations: 28.83 kB / 435.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.3202, allocations: 249.1 kB / 436.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.3202, allocations: 16.12 kB / 436.1 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.3202, allocations: 8 kB / 436.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000607/0.3208, allocations: 279.5 kB / 436.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3208, allocations: 4 kB / 436.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.3208, allocations: 4 kB / 436.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3209, allocations: 4 kB / 436.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.3211, allocations: 75.88 kB / 436.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.3216, allocations: 427.4 kB / 436.9 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/0.3221, allocations: 290 kB / 437.2 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.3223, allocations: 108.4 kB / 437.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.3224, allocations: 8 kB / 437.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.3224, allocations: 38.48 kB / 437.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.3224, allocations: 4 kB / 437.4 MB, free: 1.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006531/0.3231, allocations: 221.3 kB / 437.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/0.3232, allocations: 187.9 kB / 437.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.3235, allocations: 190.8 kB / 438 MB, free: 1.148 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.3235, allocations: 33.64 kB / 438 MB, free: 1.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.601e-05/0.3236, allocations: 100.9 kB / 438.1 MB, free: 1.004 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.3236, allocations: 19.89 kB / 438.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.3237, allocations: 41.66 kB / 438.1 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3239, allocations: 326.8 kB / 438.5 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.068e-05/0.324, allocations: 27.98 kB / 438.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.3241, allocations: 135.4 kB / 438.6 MB, free: 404 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.3244, allocations: 174.4 kB / 438.8 MB, free: 176 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3244, allocations: 4 kB / 438.8 MB, free: 172 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003364/0.3247, allocations: 181.2 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.3248, allocations: 10.81 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3248, allocations: 4 kB / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.3248, allocations: 8.469 kB / 439 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.325, allocations: 39.92 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.325, allocations: 4 kB / 439 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.3251, allocations: 24.06 kB / 439.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.3251, allocations: 8 kB / 439.1 MB, free: 15.89 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.0001738/0.3253, allocations: 141.7 kB / 439.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/0.3256, allocations: 141.5 kB / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.519e-05/0.3257, allocations: 21.44 kB / 439.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3257, allocations: 4 kB / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.3257, allocations: 4 kB / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3257, allocations: 7.922 kB / 439.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.326, allocations: 217.5 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.326, allocations: 0 / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.3262, allocations: 39.91 kB / 439.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.3262, allocations: 4 kB / 439.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3262, allocations: 4 kB / 439.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.3262, allocations: 7.938 kB / 439.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3262, allocations: 0 / 439.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.3267, allocations: 372.9 kB / 440 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.3268, allocations: 113 kB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.3268, allocations: 4 kB / 440.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.3269, allocations: 15.98 kB / 440.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.327, allocations: 7.938 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.327, allocations: 4 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.3271, allocations: 132.4 kB / 440.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3271, allocations: 4 kB / 440.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003243/0.3274, allocations: 23.95 kB / 440.3 MB, free: 14.54 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.0001438/0.3276, allocations: 107.2 kB / 440.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.3279, allocations: 111.8 kB / 440.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3279, allocations: 5 kB / 440.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.225e-05/0.3279, allocations: 8 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006515/0.3286, allocations: 108 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007016/0.3293, allocations: 367.4 kB / 441 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.3297, allocations: 0.7281 MB / 441.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.94e-05/0.3297, allocations: 15.44 kB / 441.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3297, allocations: 0 / 441.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of Templates: time 0.004178/0.3339, allocations: 1.866 MB / 443.6 MB, free: 11.17 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.055167304817587]