Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00147/0.00147, allocations: 75.69 kB / 21.69 MB, free: 2.848 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.001722/0.001722, allocations: 167.7 kB / 24.99 MB, free: 9.332 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.9619/0.9619, allocations: 177 MB / 205.2 MB, free: 5.191 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.686e-05/3.93e-05, allocations: 5.266 kB / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002878/0.002917, allocations: 1.661 MB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.003725, allocations: 0.5568 MB / 275.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.639e-05/0.003822, allocations: 4 kB / 275.2 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.387e-05/0.003875, allocations: 11.86 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.004015, allocations: 15.88 kB / 275.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.004294, allocations: 67.67 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.752e-05/0.004392, allocations: 51.78 kB / 275.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.004485, allocations: 12 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.004621, allocations: 51.83 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.738e-05/0.004669, allocations: 11.92 kB / 275.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.004686, allocations: 4 kB / 275.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.567e-05/0.004722, allocations: 8 kB / 275.5 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.004767, allocations: 23.91 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.004791, allocations: 11.94 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.004928, allocations: 55.75 kB / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.004931, allocations: 0 / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.004932, allocations: 0 / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.004938, allocations: 0 / 275.6 MB, free: 14.99 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003659/0.005304, allocations: 416.2 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.005339, allocations: 15.92 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.005452, allocations: 20.88 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.005633, allocations: 160.9 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.005642, allocations: 4.375 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.005653, allocations: 4.375 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.005887, allocations: 148.9 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.005894, allocations: 3.938 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.005904, allocations: 8 kB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.00591, allocations: 0 / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.671e-05/0.005937, allocations: 15.92 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.006219, allocations: 286.9 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.006321, allocations: 112.3 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.284e-05/0.006374, allocations: 54.8 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.006398, allocations: 7.938 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.006424, allocations: 41.39 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.006426, allocations: 0 / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001939/0.006619, allocations: 77.5 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.006679, allocations: 136.5 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.006781, allocations: 197.3 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.006791, allocations: 26.2 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.006843, allocations: 146.9 kB / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.006859, allocations: 7.891 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.006885, allocations: 23.33 kB / 277.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.006994, allocations: 0.4922 MB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.007007, allocations: 7.938 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.631e-05/0.007023, allocations: 15.38 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.028e-05/0.007054, allocations: 23.38 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.007055, allocations: 7.938 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.771e-05/0.007103, allocations: 45.69 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.007116, allocations: 8 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.00712, allocations: 0 / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.007131, allocations: 0 / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.00719, allocations: 4 kB / 278 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.007197, allocations: 3.984 kB / 278 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.007216, allocations: 7.953 kB / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.007221, allocations: 0 / 278 MB, free: 12.18 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.847e-05/0.00729, allocations: 160.5 kB / 278.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.00734, allocations: 65.64 kB / 278.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.578e-05/0.007376, allocations: 11.97 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007378, allocations: 0 / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.007382, allocations: 0 / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.007385, allocations: 4 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.007498, allocations: 136.5 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.007501, allocations: 4 kB / 278.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/0.007531, allocations: 11.98 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.007534, allocations: 7.938 kB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.007541, allocations: 0 / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.007542, allocations: 0 / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.007543, allocations: 8.062 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.007671, allocations: 238.9 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.007703, allocations: 19.92 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.007716, allocations: 8 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.321e-05/0.007749, allocations: 0 / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.007781, allocations: 11.92 kB / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.007786, allocations: 3.984 kB / 278.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.374e-05/0.007839, allocations: 147.2 kB / 278.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00784, allocations: 0 / 278.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001472/0.007987, allocations: 11.95 kB / 278.9 MB, free: 11.27 MB / 266.7 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 8.876e-05/0.008076, allocations: 99.23 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.078e-05/0.008156, allocations: 31.56 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.008158, allocations: 0 / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.632e-05/0.008174, allocations: 15.67 kB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.008462, allocations: 29.08 kB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005491/0.009011, allocations: 216 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.303e-05/0.009064, allocations: 63.34 kB / 279.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.312e-05/0.009087, allocations: 7.984 kB / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.009126, allocations: 12.5 kB / 279.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.009127, allocations: 0 / 279.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of Templates: time 0.002365/0.01149, allocations: 0.7522 MB / 280.1 MB, free: 9.98 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.850019379053265]