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.0007004/0.0007004, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009398/0.00164, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007011/0.0007011, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008524/0.001554, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9935/0.9935, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08328/1.077, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.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 1.412e-06/1.412e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.137e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003299/0.00332, allocations: 1.728 MB / 246.3 MB, free: 12.58 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007207/0.004041, allocations: 0.5802 MB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.809e-05/0.004119, allocations: 3.938 kB / 246.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.144e-05/0.00416, allocations: 7.922 kB / 246.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.713e-05/0.004237, allocations: 19.81 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.004458, allocations: 67.67 kB / 246.9 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.004558, allocations: 59.78 kB / 247 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.844e-05/0.004637, allocations: 16.11 kB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.004767, allocations: 59.88 kB / 247.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.983e-05/0.004817, allocations: 19.86 kB / 247.1 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.004832, allocations: 4 kB / 247.1 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.039e-05/0.004883, allocations: 8 kB / 247.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.004915, allocations: 11.94 kB / 247.1 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.004935, allocations: 15.94 kB / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.005049, allocations: 43.83 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.349e-05/0.005062, allocations: 0 / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.005063, allocations: 0 / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.005074, allocations: 4 kB / 247.2 MB, free: 11.66 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.0003648/0.005439, allocations: 316.1 kB / 247.5 MB, free: 11.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.005467, allocations: 12.03 kB / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.005601, allocations: 94.03 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.005765, allocations: 165.3 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-06/0.005772, allocations: 384 / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.00578, allocations: 4.375 kB / 247.7 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.005948, allocations: 139.9 kB / 247.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.005955, allocations: 4.125 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.005962, allocations: 4.375 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.005967, allocations: 3.938 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.253e-05/0.005989, allocations: 11.98 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.006156, allocations: 162.9 kB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.393e-05/0.00622, allocations: 78.36 kB / 248.1 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.434e-05/0.006245, allocations: 35.56 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.006267, allocations: 11.92 kB / 248.2 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.006288, allocations: 34.56 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/0.006289, allocations: 3.984 kB / 248.2 MB, free: 10.42 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001262/0.006416, allocations: 73.48 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.006466, allocations: 128.5 kB / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.326e-05/0.006539, allocations: 148.2 kB / 248.6 MB, free: 10.03 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.006548, allocations: 29.7 kB / 248.6 MB, free: 9.996 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.00658, allocations: 92.11 kB / 248.7 MB, free: 9.902 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.262e-05/0.006593, allocations: 3.953 kB / 248.7 MB, free: 9.898 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.006616, allocations: 13.72 kB / 248.7 MB, free: 9.879 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.893e-05/0.006685, allocations: 322.8 kB / 249 MB, free: 9.555 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-06/0.006693, allocations: 4 kB / 249 MB, free: 9.551 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-06/0.006699, allocations: 3.938 kB / 249 MB, free: 9.547 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.753e-05/0.006716, allocations: 8.859 kB / 249 MB, free: 9.535 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.006718, allocations: 0 / 249 MB, free: 9.535 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.991e-05/0.006758, allocations: 37.75 kB / 249.1 MB, free: 9.492 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.006769, allocations: 6.969 kB / 249.1 MB, free: 9.488 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.006774, allocations: 7.938 kB / 249.1 MB, free: 9.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/0.006781, allocations: 0 / 249.1 MB, free: 9.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.273e-05/0.006833, allocations: 4 kB / 249.1 MB, free: 9.477 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.006836, allocations: 0 / 249.1 MB, free: 9.477 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.006849, allocations: 7.984 kB / 249.1 MB, free: 9.469 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.006854, allocations: 0 / 249.1 MB, free: 9.469 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.141e-05/0.006905, allocations: 112.6 kB / 249.2 MB, free: 9.348 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.00695, allocations: 53.66 kB / 249.3 MB, free: 9.289 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.006977, allocations: 23.89 kB / 249.3 MB, free: 9.266 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.00698, allocations: 4 kB / 249.3 MB, free: 9.262 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.006982, allocations: 3.938 kB / 249.3 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.006985, allocations: 0 / 249.3 MB, free: 9.258 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.275e-05/0.007077, allocations: 85.77 kB / 249.4 MB, free: 9.156 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007079, allocations: 0 / 249.4 MB, free: 9.156 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.007117, allocations: 15.98 kB / 249.4 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.007143, allocations: 11.95 kB / 249.4 MB, free: 9.129 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.007145, allocations: 0 / 249.4 MB, free: 9.129 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.00715, allocations: 4.094 kB / 249.4 MB, free: 9.125 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.007153, allocations: 11.92 kB / 249.4 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007154, allocations: 0 / 249.4 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.87e-05/0.007233, allocations: 154.1 kB / 249.6 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.007243, allocations: 0 / 249.6 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.769e-05/0.00728, allocations: 4 kB / 249.6 MB, free: 8.934 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.0073, allocations: 3.938 kB / 249.6 MB, free: 8.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.007304, allocations: 4 kB / 249.6 MB, free: 8.926 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.762e-05/0.007331, allocations: 39.86 kB / 249.6 MB, free: 8.887 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007331, allocations: 0 / 249.6 MB, free: 8.887 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001122/0.007444, allocations: 12.03 kB / 249.6 MB, free: 8.875 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 6.911e-05/0.007513, allocations: 72.42 kB / 249.7 MB, free: 8.793 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.214e-05/0.007565, allocations: 24.8 kB / 249.7 MB, free: 8.766 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.007569, allocations: 0 / 249.7 MB, free: 8.766 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.146e-05/0.00758, allocations: 8.844 kB / 249.7 MB, free: 8.754 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.007789, allocations: 44.11 kB / 249.8 MB, free: 8.711 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006526/0.008442, allocations: 225.5 kB / 250 MB, free: 8.449 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.721e-05/0.008479, allocations: 63.34 kB / 250.1 MB, free: 8.367 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.716e-05/0.008506, allocations: 8 kB / 250.1 MB, free: 8.359 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.008562, allocations: 67.34 kB / 250.1 MB, free: 8.293 MB / 250.7 MB Notification: Performance of SimCode: time 9.11e-07/0.008563, allocations: 3.938 kB / 250.1 MB, free: 8.289 MB / 250.7 MB Notification: Performance of Templates: time 0.002394/0.01096, allocations: 0.9752 MB / 251.1 MB, free: 7.332 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.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.4726083362475038]