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.001332/0.001332, allocations: 120.8 kB / 18.46 MB, free: 4.449 MB / 14.72 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.001363/0.001363, allocations: 190.9 kB / 21.4 MB, free: 1.52 MB / 14.72 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 1.433/1.433, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001406/0.001406, allocations: 51.92 kB / 366.8 MB, free: 416 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09235/0.09376, allocations: 52.14 MB / 419 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002981/0.09674, allocations: 1.612 MB / 420.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008859/0.09763, allocations: 0.518 MB / 421.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.0977, allocations: 0 / 421.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.043e-05/0.09775, allocations: 3.938 kB / 421.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.09788, allocations: 15.86 kB / 421.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.09814, allocations: 55.83 kB / 421.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.09826, allocations: 51.78 kB / 421.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.524e-05/0.09836, allocations: 15.98 kB / 421.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.326e-05/0.09843, allocations: 27.86 kB / 421.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.09849, allocations: 23.84 kB / 421.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.09851, allocations: 8 kB / 421.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.09853, allocations: 4 kB / 421.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.09857, allocations: 15.92 kB / 421.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.09861, allocations: 31.75 kB / 421.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.09875, allocations: 71.64 kB / 421.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.09875, allocations: 0 / 421.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09875, allocations: 0 / 421.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.09876, allocations: 0 / 421.4 MB, free: 9.707 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005154/0.09927, allocations: 379.1 kB / 421.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.09931, allocations: 12.03 kB / 421.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.09935, allocations: 20.84 kB / 421.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.09959, allocations: 200.7 kB / 422 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.0996, allocations: 8.375 kB / 422 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.09962, allocations: 8.109 kB / 422 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.0999, allocations: 130.7 kB / 422.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.09991, allocations: 3.938 kB / 422.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.09992, allocations: 7.938 kB / 422.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.09993, allocations: 0 / 422.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.527e-05/0.1, allocations: 31.97 kB / 422.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.1004, allocations: 287.4 kB / 422.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.1005, allocations: 86.36 kB / 422.6 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.876e-05/0.1006, allocations: 47.55 kB / 422.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1006, allocations: 0 / 422.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.1007, allocations: 46.48 kB / 422.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.1007, allocations: 4 kB / 422.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002933/0.101, allocations: 97.5 kB / 422.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/0.1011, allocations: 128.5 kB / 422.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.1012, allocations: 151.8 kB / 423 MB, free: 7.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1012, allocations: 26.2 kB / 423.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.1013, allocations: 100 kB / 423.1 MB, free: 7.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.1013, allocations: 15.88 kB / 423.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.1013, allocations: 21.72 kB / 423.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1015, allocations: 314.8 kB / 423.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.154e-05/0.1015, allocations: 12 kB / 423.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.5e-05/0.1016, allocations: 40.28 kB / 423.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.1017, allocations: 68.16 kB / 423.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1017, allocations: 0 / 423.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001683/0.1019, allocations: 81.56 kB / 423.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1019, allocations: 8 kB / 423.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1019, allocations: 0 / 423.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1019, allocations: 4 kB / 423.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/0.102, allocations: 15.92 kB / 423.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.102, allocations: 0 / 423.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.1021, allocations: 11.94 kB / 423.7 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1021, allocations: 4 kB / 423.7 MB, free: 7.051 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (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 prepare postOptimizeDAE: time 9.082e-05/0.1022, allocations: 122 kB / 423.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.692e-05/0.1023, allocations: 61.58 kB / 423.9 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.1023, allocations: 11.88 kB / 423.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1023, allocations: 0 / 423.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1023, allocations: 4.125 kB / 423.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.1023, allocations: 11.88 kB / 423.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.1025, allocations: 177.6 kB / 424.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1025, allocations: 0 / 424.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.121e-05/0.1026, allocations: 15.98 kB / 424.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1026, allocations: 4.062 kB / 424.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.964e-06/0.1026, allocations: 0 / 424.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1026, allocations: 4 kB / 424.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1026, allocations: 3.938 kB / 424.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.1028, allocations: 202 kB / 424.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.1029, allocations: 93.05 kB / 424.4 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1029, allocations: 4 kB / 424.4 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.103, allocations: 3.984 kB / 424.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.103, allocations: 7.938 kB / 424.4 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.103, allocations: 4 kB / 424.4 MB, free: 6.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.633e-05/0.1031, allocations: 112.8 kB / 424.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1031, allocations: 0 / 424.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.1034, allocations: 11.94 kB / 424.6 MB, free: 6.102 MB / 350.1 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 0.000107/0.1035, allocations: 107.7 kB / 424.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.1036, allocations: 43.91 kB / 424.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1036, allocations: 3.938 kB / 424.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/0.1037, allocations: 12 kB / 424.7 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.104, allocations: 34.45 kB / 424.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.1044, allocations: 231.7 kB / 425 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.1048, allocations: 0.6961 MB / 425.7 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.1048, allocations: 15.42 kB / 425.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1048, allocations: 0 / 425.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of Templates: time 0.00251/0.1073, allocations: 0.9249 MB / 426.6 MB, free: 3.969 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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: 6.543514861026779]