Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009412/0.0009412, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001561/0.002502, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008245/0.0008245, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009979/0.001822, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.047/1.047, allocations: 177.2 MB / 189.8 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1098/1.157, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.844e-05, allocations: 2.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002966/0.002994, allocations: 1.958 MB / 246.7 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009254/0.00392, allocations: 0.6893 MB / 247.4 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.004034, allocations: 11.88 kB / 247.4 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.004139, allocations: 23.8 kB / 247.4 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.296e-05/0.004222, allocations: 27.72 kB / 247.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.004498, allocations: 111.6 kB / 247.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.00467, allocations: 147.5 kB / 247.7 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.004796, allocations: 50.59 kB / 247.7 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.004994, allocations: 99.73 kB / 247.8 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.984e-05/0.005083, allocations: 39.83 kB / 247.9 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.005109, allocations: 8 kB / 247.9 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.055e-05/0.005179, allocations: 12 kB / 247.9 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.98e-05/0.005239, allocations: 23.88 kB / 247.9 MB, free: 11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.005273, allocations: 27.94 kB / 247.9 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.005464, allocations: 95.55 kB / 248 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.005476, allocations: 0 / 248 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.005477, allocations: 0 / 248 MB, free: 10.88 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.005487, allocations: 0 / 248 MB, free: 10.88 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005174/0.006005, allocations: 383.9 kB / 248.4 MB, free: 10.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.006039, allocations: 8.031 kB / 248.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.006197, allocations: 106 kB / 248.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.006408, allocations: 183.1 kB / 248.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.006426, allocations: 8.562 kB / 248.7 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.006439, allocations: 8.375 kB / 248.7 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.006711, allocations: 263.2 kB / 249 MB, free: 9.836 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.00672, allocations: 0 / 249 MB, free: 9.836 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.006731, allocations: 8 kB / 249 MB, free: 9.828 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.006737, allocations: 0 / 249 MB, free: 9.828 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.118e-05/0.006788, allocations: 27.86 kB / 249 MB, free: 9.801 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002578/0.007046, allocations: 286.9 kB / 249.3 MB, free: 9.492 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.007207, allocations: 136.7 kB / 249.4 MB, free: 9.312 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.007262, allocations: 64.45 kB / 249.5 MB, free: 9.234 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.007283, allocations: 11.92 kB / 249.5 MB, free: 9.223 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.007308, allocations: 42.56 kB / 249.5 MB, free: 9.172 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 9.51e-07/0.007309, allocations: 0 / 249.5 MB, free: 9.172 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001739/0.007483, allocations: 113.8 kB / 249.6 MB, free: 9.055 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.007557, allocations: 178.6 kB / 249.8 MB, free: 8.844 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.335e-05/0.007651, allocations: 170.5 kB / 250 MB, free: 8.664 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.007665, allocations: 29.7 kB / 250 MB, free: 8.629 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.007702, allocations: 96.48 kB / 250.1 MB, free: 8.527 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.007718, allocations: 11.91 kB / 250.1 MB, free: 8.516 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.007745, allocations: 17.7 kB / 250.1 MB, free: 8.492 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.574e-05/0.007821, allocations: 318.8 kB / 250.4 MB, free: 8.172 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.00783, allocations: 7.984 kB / 250.4 MB, free: 8.164 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/0.007863, allocations: 53.33 kB / 250.5 MB, free: 8.094 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.257e-05/0.007896, allocations: 34.53 kB / 250.5 MB, free: 8.051 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.007899, allocations: 4 kB / 250.5 MB, free: 8.047 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.583e-05/0.007955, allocations: 49.56 kB / 250.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.007968, allocations: 10.34 kB / 250.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.007972, allocations: 96 / 250.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.007981, allocations: 3.984 kB / 250.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.143e-05/0.008033, allocations: 11.98 kB / 250.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.008038, allocations: 3.938 kB / 250.6 MB, free: 7.965 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.81e-05/0.008066, allocations: 8.094 kB / 250.6 MB, free: 7.957 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.00807, allocations: 0 / 250.6 MB, free: 7.957 MB / 250.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 8.62e-05/0.008156, allocations: 116.7 kB / 250.7 MB, free: 7.832 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.008289, allocations: 93.47 kB / 250.8 MB, free: 7.734 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.008325, allocations: 21.45 kB / 250.8 MB, free: 7.719 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.008329, allocations: 7.938 kB / 250.9 MB, free: 7.711 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.008334, allocations: 4 kB / 250.9 MB, free: 7.707 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.008338, allocations: 0 / 250.9 MB, free: 7.707 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.008477, allocations: 101.7 kB / 251 MB, free: 7.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.00848, allocations: 4 kB / 251 MB, free: 7.586 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.986e-05/0.00856, allocations: 47.94 kB / 251 MB, free: 7.539 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.0086, allocations: 31.77 kB / 251 MB, free: 7.508 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.008605, allocations: 4 kB / 251 MB, free: 7.504 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.008611, allocations: 0 / 251 MB, free: 7.504 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.008615, allocations: 4 kB / 251.1 MB, free: 7.5 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.008617, allocations: 0 / 251.1 MB, free: 7.5 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.008743, allocations: 237.3 kB / 251.3 MB, free: 7.242 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.008765, allocations: 15.92 kB / 251.3 MB, free: 7.227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.448e-05/0.008829, allocations: 4 kB / 251.3 MB, free: 7.223 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.008855, allocations: 8.031 kB / 251.3 MB, free: 7.215 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.00886, allocations: 4 kB / 251.3 MB, free: 7.211 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.929e-05/0.0089, allocations: 49.84 kB / 251.4 MB, free: 7.16 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0089, allocations: 4 kB / 251.4 MB, free: 7.156 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001474/0.009047, allocations: 16 kB / 251.4 MB, free: 7.141 MB / 250.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 7.953e-05/0.009127, allocations: 80.42 kB / 251.5 MB, free: 7.051 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.02e-05/0.009217, allocations: 40.72 kB / 251.5 MB, free: 7.008 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.009221, allocations: 4 kB / 251.5 MB, free: 7.004 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.694e-05/0.009238, allocations: 13.14 kB / 251.5 MB, free: 6.988 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.009636, allocations: 343.5 kB / 251.9 MB, free: 6.594 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007623/0.0104, allocations: 308 kB / 252.2 MB, free: 6.25 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.608e-05/0.01045, allocations: 83.81 kB / 252.2 MB, free: 6.148 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.593e-05/0.01049, allocations: 13.45 kB / 252.2 MB, free: 6.133 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.942e-05/0.01059, allocations: 87.28 kB / 252.3 MB, free: 6.047 MB / 250.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01059, allocations: 0 / 252.3 MB, free: 6.047 MB / 250.7 MB Notification: Performance of Templates: time 0.003557/0.01415, allocations: 1.998 MB / 254.3 MB, free: 4.098 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6553935380652547]