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.001857/0.001857, allocations: 116.8 kB / 19.18 MB, free: 3.926 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.002057/0.002057, allocations: 210.6 kB / 22.13 MB, free: 0.9805 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.496/1.496, allocations: 230.4 MB / 255.4 MB, free: 15.01 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.002268/0.002268, allocations: 63.84 kB / 374.8 MB, free: 9.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1103, allocations: 53.32 MB / 428.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003507/0.1138, allocations: 1.887 MB / 430 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1153, allocations: 0.6936 MB / 430.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.1155, allocations: 7.938 kB / 430.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.1156, allocations: 23.72 kB / 430.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.1158, allocations: 23.8 kB / 430.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.1162, allocations: 119.6 kB / 430.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.1164, allocations: 143.6 kB / 431 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.1166, allocations: 41.72 kB / 431 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1168, allocations: 63.7 kB / 431.1 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.1169, allocations: 55.7 kB / 431.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.1169, allocations: 8 kB / 431.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.301e-05/0.1169, allocations: 16 kB / 431.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.364e-05/0.117, allocations: 31.86 kB / 431.2 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.013e-05/0.1171, allocations: 63.59 kB / 431.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.1174, allocations: 159.2 kB / 431.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1174, allocations: 4 kB / 431.4 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1174, allocations: 0 / 431.4 MB, free: 1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1174, allocations: 0 / 431.4 MB, free: 1 MB / 350.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.0007351/0.1181, allocations: 454.8 kB / 431.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1182, allocations: 8.031 kB / 431.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.1183, allocations: 28.83 kB / 431.9 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.1187, allocations: 256.1 kB / 432.1 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.1188, allocations: 12.12 kB / 432.1 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.1188, allocations: 4 kB / 432.1 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2157/0.3345, allocations: 280.5 kB / 432.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.3345, allocations: 0 / 432.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.3345, allocations: 8.125 kB / 432.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3345, allocations: 2.031 kB / 432.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.3348, allocations: 73.5 kB / 432.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.3353, allocations: 433.9 kB / 432.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/0.3357, allocations: 285 kB / 433.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.3359, allocations: 105.8 kB / 433.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.3359, allocations: 7.406 kB / 433.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.3359, allocations: 36.16 kB / 433.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.3359, allocations: 0 / 433.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006075/0.3366, allocations: 224.3 kB / 433.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.651e-05/0.3366, allocations: 198.2 kB / 433.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.3368, allocations: 186.6 kB / 433.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.3368, allocations: 32.64 kB / 434 MB, free: 10.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.3369, allocations: 96.7 kB / 434.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.3369, allocations: 24.14 kB / 434.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.337, allocations: 37.22 kB / 434.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.337, allocations: 325.5 kB / 434.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.649e-05/0.3371, allocations: 23.86 kB / 434.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.3372, allocations: 139.9 kB / 434.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.3374, allocations: 171.3 kB / 434.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3374, allocations: 4.75 kB / 434.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002651/0.3376, allocations: 174.6 kB / 434.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3376, allocations: 8.031 kB / 435 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3376, allocations: 3.062 kB / 435 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3377, allocations: 4.719 kB / 435 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3378, allocations: 41.95 kB / 435 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.3378, allocations: 7.047 kB / 435 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.575e-05/0.3379, allocations: 21.08 kB / 435 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.3379, allocations: 9.969 kB / 435 MB, free: 10.09 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 8.487e-05/0.338, allocations: 139.1 kB / 435.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.3382, allocations: 147.3 kB / 435.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.488e-05/0.3383, allocations: 20.52 kB / 435.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3383, allocations: 6.188 kB / 435.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3383, allocations: 1.312 kB / 435.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3383, allocations: 6.062 kB / 435.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.3385, allocations: 220.7 kB / 435.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3385, allocations: 5.297 kB / 435.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.3386, allocations: 39.44 kB / 435.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3386, allocations: 2.656 kB / 435.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3387, allocations: 5.062 kB / 435.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3387, allocations: 2.438 kB / 435.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3387, allocations: 4.781 kB / 435.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.339, allocations: 374.2 kB / 436 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/0.3391, allocations: 108.5 kB / 436.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.3391, allocations: 10.25 kB / 436.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3392, allocations: 20.27 kB / 436.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.3393, allocations: 6.219 kB / 436.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.3393, allocations: 7.672 kB / 436.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.246e-05/0.3394, allocations: 132.4 kB / 436.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3394, allocations: 0 / 436.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003232/0.3397, allocations: 21.06 kB / 436.3 MB, free: 9.273 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.0001039/0.3398, allocations: 103.2 kB / 436.4 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.3401, allocations: 116.3 kB / 436.5 MB, free: 9.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3401, allocations: 1.281 kB / 436.5 MB, free: 9.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.165e-05/0.3401, allocations: 17.81 kB / 436.5 MB, free: 9.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006383/0.3408, allocations: 102 kB / 436.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005514/0.3413, allocations: 357.6 kB / 437 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001811/0.3415, allocations: 0.7285 MB / 437.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.3415, allocations: 20.31 kB / 437.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3415, allocations: 0 / 437.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of Templates: time 0.004345/0.3459, allocations: 1.854 MB / 439.6 MB, free: 8.008 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.070615876931697]