Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001559/0.001559, allocations: 75.69 kB / 21.7 MB, free: 2.844 MB / 18.57 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.001893/0.001893, allocations: 163.8 kB / 24.99 MB, free: 9.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9728/0.9728, allocations: 177 MB / 205.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.806e-05, allocations: 2.312 kB / 273 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002092/0.00211, allocations: 1.895 MB / 274.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008592/0.002969, allocations: 0.6776 MB / 275.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.003083, allocations: 7.938 kB / 275.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.00322, allocations: 19.73 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.003333, allocations: 27.84 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.003625, allocations: 115.6 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.003778, allocations: 139.6 kB / 275.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.003908, allocations: 53.88 kB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.004046, allocations: 79.8 kB / 276 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.434e-05/0.00411, allocations: 39.83 kB / 276.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.00413, allocations: 11.94 kB / 276.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.885e-05/0.004168, allocations: 12 kB / 276.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.004222, allocations: 31.86 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.004257, allocations: 35.84 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.004409, allocations: 103.6 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.004411, allocations: 0 / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004411, allocations: 0 / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.004415, allocations: 4 kB / 276.2 MB, free: 14.5 MB / 266.7 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.0004329/0.004848, allocations: 479.9 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.004883, allocations: 15.98 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.00501, allocations: 32.83 kB / 276.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.00523, allocations: 193 kB / 277 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.00525, allocations: 8.562 kB / 277 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.005265, allocations: 12.38 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.005602, allocations: 290 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.005609, allocations: 4 kB / 277.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.005622, allocations: 12 kB / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.005628, allocations: 0 / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.949e-05/0.005687, allocations: 35.91 kB / 277.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.006015, allocations: 461.5 kB / 277.8 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.006239, allocations: 195.2 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.006324, allocations: 94.64 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.006342, allocations: 4 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.006367, allocations: 49.33 kB / 278.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.482e-06/0.006369, allocations: 0 / 278.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002404/0.006609, allocations: 153.4 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.006687, allocations: 195.9 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.006808, allocations: 234.5 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.006822, allocations: 29.7 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.006879, allocations: 155.2 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.00689, allocations: 3.953 kB / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.006921, allocations: 35.69 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.007035, allocations: 0.4961 MB / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.007048, allocations: 4 kB / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.766e-05/0.007085, allocations: 64.45 kB / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.39e-05/0.007129, allocations: 38.98 kB / 279.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.007131, allocations: 0 / 279.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.268e-05/0.007194, allocations: 61.58 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.007204, allocations: 10.81 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.007208, allocations: 4.125 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.007219, allocations: 0 / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.698e-05/0.007266, allocations: 8 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.007271, allocations: 0 / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.146e-05/0.007303, allocations: 11.98 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.007307, allocations: 0 / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 6.888e-05/0.007376, allocations: 164.5 kB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.007493, allocations: 121.8 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.007524, allocations: 21.8 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.007527, allocations: 4 kB / 279.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.007531, allocations: 4.031 kB / 279.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.007537, allocations: 11.97 kB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.007683, allocations: 156.5 kB / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.007684, allocations: 0 / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.00775, allocations: 35.98 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.007753, allocations: 4 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.007761, allocations: 0 / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.007764, allocations: 4 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.007766, allocations: 7.922 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.007965, allocations: 422 kB / 280.5 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.008009, allocations: 35.83 kB / 280.5 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.008034, allocations: 11.98 kB / 280.6 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.008101, allocations: 8 kB / 280.6 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.008124, allocations: 7.938 kB / 280.6 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.008132, allocations: 11.98 kB / 280.6 MB, free: 9.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.587e-05/0.008198, allocations: 164.3 kB / 280.7 MB, free: 9.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008198, allocations: 4 kB / 280.8 MB, free: 9.516 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001737/0.008372, allocations: 16 kB / 280.8 MB, free: 9.5 MB / 266.7 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 6.608e-05/0.008438, allocations: 99.25 kB / 280.9 MB, free: 9.391 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.008546, allocations: 59.53 kB / 280.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.008547, allocations: 0 / 280.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.494e-05/0.008562, allocations: 15.62 kB / 280.9 MB, free: 9.309 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.008917, allocations: 83.75 kB / 281 MB, free: 9.227 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/0.009416, allocations: 302.7 kB / 281.3 MB, free: 8.887 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.221e-05/0.009469, allocations: 91.75 kB / 281.4 MB, free: 8.777 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.706e-05/0.009496, allocations: 5.156 kB / 281.4 MB, free: 8.773 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.00953, allocations: 24.48 kB / 281.4 MB, free: 8.75 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.00953, allocations: 0 / 281.4 MB, free: 8.75 MB / 266.7 MB Notification: Performance of Templates: time 0.003064/0.01259, allocations: 1.808 MB / 283.2 MB, free: 6.977 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7599990509916097]