Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 68.08 kB / 21.69 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 140.6 kB / 24.97 MB, free: 9.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9711/0.9711, allocations: 173.3 MB / 201.5 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.169e-05, allocations: 6.25 kB / 268.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002232/0.002264, allocations: 1.643 MB / 269.7 MB, free: 5.039 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007428/0.003007, allocations: 498.5 kB / 270.2 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.115e-05/0.003098, allocations: 7.938 kB / 270.2 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.968e-05/0.003148, allocations: 3.938 kB / 270.2 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.003294, allocations: 15.8 kB / 270.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.003551, allocations: 51.77 kB / 270.3 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.003667, allocations: 59.77 kB / 270.4 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.003773, allocations: 12 kB / 270.4 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.12e-05/0.003864, allocations: 35.84 kB / 270.4 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.66e-05/0.003911, allocations: 15.97 kB / 270.4 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.003932, allocations: 4 kB / 270.4 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.003944, allocations: 4 kB / 270.4 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.003992, allocations: 15.92 kB / 270.4 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.004021, allocations: 15.94 kB / 270.5 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.004144, allocations: 63.67 kB / 270.5 MB, free: 4.246 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.004147, allocations: 0 / 270.5 MB, free: 4.246 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.004148, allocations: 0 / 270.5 MB, free: 4.246 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.004152, allocations: 0 / 270.5 MB, free: 4.246 MB / 250.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.0004173/0.00457, allocations: 404.2 kB / 270.9 MB, free: 3.816 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.004609, allocations: 12.92 kB / 270.9 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.004652, allocations: 16.89 kB / 270.9 MB, free: 3.789 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.004841, allocations: 148 kB / 271.1 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.004849, allocations: 384 / 271.1 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.00486, allocations: 4.375 kB / 271.1 MB, free: 3.617 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.005118, allocations: 152.9 kB / 271.2 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.005126, allocations: 3.938 kB / 271.2 MB, free: 3.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.005136, allocations: 8 kB / 271.3 MB, free: 3.422 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.005143, allocations: 0 / 271.3 MB, free: 3.422 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.054e-05/0.005174, allocations: 15.92 kB / 271.3 MB, free: 3.406 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.00548, allocations: 302.8 kB / 271.6 MB, free: 3.062 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.14e-05/0.005572, allocations: 120.3 kB / 271.7 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.005618, allocations: 50.73 kB / 271.7 MB, free: 2.828 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.00564, allocations: 7.938 kB / 271.7 MB, free: 2.82 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.005662, allocations: 37.39 kB / 271.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.005663, allocations: 0 / 271.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001883/0.005851, allocations: 81.52 kB / 271.9 MB, free: 2.688 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.005912, allocations: 132.5 kB / 272 MB, free: 2.527 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.006016, allocations: 193.9 kB / 272.2 MB, free: 2.32 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.006027, allocations: 29.7 kB / 272.2 MB, free: 2.285 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.006081, allocations: 138.9 kB / 272.3 MB, free: 2.145 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.006099, allocations: 8.438 kB / 272.3 MB, free: 2.137 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003062/0.006405, allocations: 27.38 kB / 272.4 MB, free: 2.102 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.006514, allocations: 0.4922 MB / 272.9 MB, free: 1.598 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.006531, allocations: 3.938 kB / 272.9 MB, free: 1.594 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.00655, allocations: 23.38 kB / 272.9 MB, free: 1.562 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.412e-05/0.006584, allocations: 19.38 kB / 272.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006586, allocations: 0 / 272.9 MB, free: 1.535 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.074e-05/0.006647, allocations: 53.58 kB / 273 MB, free: 1.477 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.006659, allocations: 4 kB / 273 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.006664, allocations: 4.125 kB / 273 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.006678, allocations: 0 / 273 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.286e-05/0.00675, allocations: 4 kB / 273 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.006758, allocations: 4 kB / 273 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.006778, allocations: 0 / 273 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.006787, allocations: 3.984 kB / 273 MB, free: 1.457 MB / 250.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 7.114e-05/0.006858, allocations: 160.5 kB / 273.1 MB, free: 1.289 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.006918, allocations: 53.59 kB / 273.2 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.006951, allocations: 15.95 kB / 273.2 MB, free: 1.211 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.006954, allocations: 4.062 kB / 273.2 MB, free: 1.207 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.006959, allocations: 8 kB / 273.2 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.006962, allocations: 0 / 273.2 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.00708, allocations: 136.5 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007081, allocations: 0 / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.007122, allocations: 12 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.007124, allocations: 3.938 kB / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.007133, allocations: 7.938 kB / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.007136, allocations: 7.984 kB / 273.4 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007137, allocations: 0 / 273.4 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.007268, allocations: 242.9 kB / 273.6 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.007302, allocations: 23.83 kB / 273.6 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.007316, allocations: 4 kB / 273.6 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-05/0.007352, allocations: 0 / 273.6 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.007386, allocations: 11.92 kB / 273.7 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.00739, allocations: 0 / 273.7 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.462e-05/0.007444, allocations: 154.2 kB / 273.8 MB, free: 0.543 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007444, allocations: 0 / 273.8 MB, free: 0.543 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001541/0.007598, allocations: 8 kB / 273.8 MB, free: 0.5352 MB / 250.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.692e-05/0.007685, allocations: 95.25 kB / 273.9 MB, free: 444 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.71e-05/0.007772, allocations: 35.55 kB / 273.9 MB, free: 404 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.007774, allocations: 0 / 273.9 MB, free: 404 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.552e-05/0.00779, allocations: 11.69 kB / 274 MB, free: 388 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.008076, allocations: 35.97 kB / 274 MB, free: 352 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.008588, allocations: 208.1 kB / 274.2 MB, free: 104 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.246e-05/0.008631, allocations: 67.34 kB / 274.3 MB, free: 16 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.733e-05/0.008658, allocations: 4 kB / 274.3 MB, free: 12 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.008689, allocations: 12.5 kB / 274.3 MB, free: 0 / 250.7 MB Notification: Performance of SimCode: time 9.32e-07/0.00869, allocations: 0 / 274.3 MB, free: 0 / 250.7 MB Notification: Performance of Templates: time 0.002633/0.01132, allocations: 0.7583 MB / 275 MB, free: 15.26 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6467234469018877]