Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001486/0.001486, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.001982/0.001982, allocations: 209.5 kB / 24.48 MB, free: 3.938 MB / 14.72 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.516/1.516, allocations: 230.6 MB / 258.2 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 47.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2837, allocations: 53.35 MB / 432.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003126/0.2868, allocations: 1.641 MB / 434 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.288, allocations: 0.5414 MB / 434.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.2881, allocations: 7.938 kB / 434.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.589e-05/0.2882, allocations: 7.922 kB / 434.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.2884, allocations: 11.88 kB / 434.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.2888, allocations: 75.73 kB / 434.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.2889, allocations: 59.78 kB / 434.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.289, allocations: 12.22 kB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.2892, allocations: 39.78 kB / 434.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.346e-05/0.2892, allocations: 27.86 kB / 434.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.2893, allocations: 4 kB / 434.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.685e-05/0.2893, allocations: 4 kB / 434.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.2894, allocations: 15.92 kB / 434.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.2894, allocations: 23.81 kB / 434.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.2896, allocations: 74.33 kB / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2896, allocations: 4 kB / 434.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2896, allocations: 0 / 434.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.2896, allocations: 3.938 kB / 434.9 MB, free: 4.129 MB / 334.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.0005993/0.2902, allocations: 321.8 kB / 435.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.2902, allocations: 12.03 kB / 435.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.2904, allocations: 20.83 kB / 435.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.2907, allocations: 152 kB / 435.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.2907, allocations: 4.375 kB / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.2907, allocations: 8.359 kB / 435.4 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.2911, allocations: 135 kB / 435.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2911, allocations: 0 / 435.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2911, allocations: 0 / 435.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.2911, allocations: 4 kB / 435.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.712e-05/0.2912, allocations: 31.91 kB / 435.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.2915, allocations: 231.1 kB / 435.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.2917, allocations: 98.3 kB / 435.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.354e-05/0.2918, allocations: 47.42 kB / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.2918, allocations: 4 kB / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.2918, allocations: 38.48 kB / 436 MB, free: 2.871 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.2918, allocations: 0 / 436 MB, free: 2.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003276/0.2922, allocations: 105.5 kB / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.2923, allocations: 136.5 kB / 436.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.2924, allocations: 153.9 kB / 436.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.2925, allocations: 25.7 kB / 436.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.2925, allocations: 96.12 kB / 436.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.2925, allocations: 3.953 kB / 436.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.2926, allocations: 21.72 kB / 436.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2927, allocations: 319.3 kB / 436.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/0.2928, allocations: 15.98 kB / 436.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.2929, allocations: 53.14 kB / 436.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.293, allocations: 57.08 kB / 436.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.293, allocations: 3.938 kB / 436.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000165/0.2931, allocations: 89.5 kB / 437 MB, free: 1.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2932, allocations: 8 kB / 437 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2932, allocations: 0 / 437 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.2932, allocations: 4 kB / 437 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.488e-05/0.2933, allocations: 12.06 kB / 437 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2933, allocations: 8 kB / 437 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.2933, allocations: 7.984 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.2934, allocations: 4.188 kB / 437.1 MB, free: 1.66 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 0.0001089/0.2935, allocations: 133.7 kB / 437.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.2936, allocations: 69.53 kB / 437.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/0.2936, allocations: 19.94 kB / 437.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2936, allocations: 0 / 437.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.2936, allocations: 4 kB / 437.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2936, allocations: 0 / 437.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.2938, allocations: 125.2 kB / 437.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2938, allocations: 3.984 kB / 437.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.287e-05/0.2939, allocations: 20.03 kB / 437.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2939, allocations: 0 / 437.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.2939, allocations: 4 kB / 437.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2939, allocations: 0 / 437.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2939, allocations: 3.984 kB / 437.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.2941, allocations: 202 kB / 437.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.2942, allocations: 23.89 kB / 437.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.2942, allocations: 3.984 kB / 437.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.2943, allocations: 4 kB / 437.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.2943, allocations: 0 / 437.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.2943, allocations: 11.94 kB / 437.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.744e-05/0.2944, allocations: 115.2 kB / 437.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2944, allocations: 0 / 437.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.2946, allocations: 8 kB / 437.8 MB, free: 0.8477 MB / 334.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.0001055/0.2947, allocations: 103.2 kB / 437.9 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.2949, allocations: 39.92 kB / 437.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2949, allocations: 384 / 437.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.905e-05/0.2949, allocations: 15.92 kB / 437.9 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.2953, allocations: 42.19 kB / 438 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.2958, allocations: 243.4 kB / 438.2 MB, free: 376 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.848e-05/0.2959, allocations: 84.03 kB / 438.3 MB, free: 272 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.2959, allocations: 15.42 kB / 438.3 MB, free: 256 kB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2959, allocations: 4.344 kB / 438.3 MB, free: 252 kB / 334.1 MB Notification: Performance of Templates: time 0.00278/0.2987, allocations: 1.055 MB / 439.4 MB, free: 15.2 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.842997859988827]