Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001873/0.001873, allocations: 79 kB / 20.68 MB, free: 1.023 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.002125/0.002125, allocations: 145.3 kB / 23.93 MB, free: 4.176 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.427/1.427, allocations: 173.4 MB / 200.4 MB, free: 12.86 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 318.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.38e-05, allocations: 2.281 kB / 318.9 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002377/0.002401, allocations: 1.605 MB / 320.5 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007483/0.003149, allocations: 497.7 kB / 321 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.099e-05/0.00323, allocations: 6.781 kB / 321 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.087e-05/0.003281, allocations: 13.7 kB / 321 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.003411, allocations: 12.89 kB / 321.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.003654, allocations: 57.08 kB / 321.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.814e-05/0.003752, allocations: 60.16 kB / 321.2 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.776e-05/0.00384, allocations: 17.48 kB / 321.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.484e-05/0.003924, allocations: 35.58 kB / 321.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.366e-05/0.003978, allocations: 19.59 kB / 321.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.003998, allocations: 2.719 kB / 321.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.004011, allocations: 4.125 kB / 321.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.004055, allocations: 19.95 kB / 321.3 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.004084, allocations: 20.72 kB / 321.3 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.004203, allocations: 67.69 kB / 321.4 MB, free: 1.949 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004206, allocations: 4.969 kB / 321.4 MB, free: 1.945 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004206, allocations: 0 / 321.4 MB, free: 1.945 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.00421, allocations: 0 / 321.4 MB, free: 1.945 MB / 286.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.0003647/0.004575, allocations: 317.5 kB / 321.7 MB, free: 1.641 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.004606, allocations: 10.19 kB / 321.7 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.004647, allocations: 10.88 kB / 321.7 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.004849, allocations: 154.7 kB / 321.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.004859, allocations: 1.406 kB / 321.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.004871, allocations: 8.125 kB / 321.9 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.005128, allocations: 136.2 kB / 322 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.005139, allocations: 192 / 322 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.005148, allocations: 1.5 kB / 322 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.005154, allocations: 4.938 kB / 322 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.684e-05/0.00524, allocations: 32.3 kB / 322 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.005466, allocations: 224.9 kB / 322.2 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.005574, allocations: 99.09 kB / 322.3 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.997e-05/0.005654, allocations: 43.92 kB / 322.4 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.005678, allocations: 3.672 kB / 322.4 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.0057, allocations: 41.7 kB / 322.4 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.005701, allocations: 4 kB / 322.4 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002716/0.005973, allocations: 95.92 kB / 322.5 MB, free: 0.875 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.006019, allocations: 144.9 kB / 322.7 MB, free: 0.707 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.00613, allocations: 151.6 kB / 322.8 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.00614, allocations: 26.86 kB / 322.8 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.006174, allocations: 91.78 kB / 322.9 MB, free: 480 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.006193, allocations: 6.188 kB / 322.9 MB, free: 476 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.006221, allocations: 17.88 kB / 323 MB, free: 456 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.299e-05/0.006264, allocations: 317.5 kB / 323.3 MB, free: 132 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.063e-05/0.006304, allocations: 7.047 kB / 323.3 MB, free: 132 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.006335, allocations: 5.969 kB / 323.3 MB, free: 132 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.669e-05/0.006401, allocations: 21.8 kB / 323.3 MB, free: 120 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.006403, allocations: 0 / 323.3 MB, free: 120 kB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001005/0.006503, allocations: 60.88 kB / 323.4 MB, free: 72 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.006517, allocations: 5.109 kB / 323.4 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.006521, allocations: 5.406 kB / 323.4 MB, free: 68 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.006537, allocations: 0 / 323.4 MB, free: 68 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.006599, allocations: 8.469 kB / 323.4 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.006604, allocations: 0 / 323.4 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.006637, allocations: 3.25 kB / 323.4 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.006643, allocations: 0.5625 kB / 323.4 MB, free: 64 kB / 286.1 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 0.000102/0.006745, allocations: 117.7 kB / 323.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.006853, allocations: 65.97 kB / 323.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.006894, allocations: 21.81 kB / 323.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.006896, allocations: 2.625 kB / 323.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.006902, allocations: 1.312 kB / 323.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.006906, allocations: 2 kB / 323.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.00707, allocations: 123 kB / 323.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.007072, allocations: 1.156 kB / 323.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.257e-05/0.007144, allocations: 16.69 kB / 323.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.007147, allocations: 1.719 kB / 323.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.007159, allocations: 6.906 kB / 323.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.007162, allocations: 2.031 kB / 323.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.007166, allocations: 7.922 kB / 323.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.007403, allocations: 192.8 kB / 323.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.007454, allocations: 23.08 kB / 324 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.007476, allocations: 5.672 kB / 324 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.713e-05/0.007553, allocations: 7.141 kB / 324 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.007583, allocations: 6.672 kB / 324 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.007588, allocations: 2.656 kB / 324 MB, free: 15.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.007692, allocations: 118.8 kB / 324.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.007692, allocations: 0 / 324.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.007915, allocations: 7.344 kB / 324.1 MB, free: 15.45 MB / 302.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 9.783e-05/0.008013, allocations: 101.5 kB / 324.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.008159, allocations: 29.39 kB / 324.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.008161, allocations: 1.344 kB / 324.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.306e-05/0.008204, allocations: 11.09 kB / 324.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.008606, allocations: 34.3 kB / 324.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.00903, allocations: 208.9 kB / 324.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.792e-05/0.009128, allocations: 82.88 kB / 324.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.443e-05/0.009162, allocations: 12.78 kB / 324.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.009198, allocations: 16.72 kB / 324.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.009198, allocations: 0 / 324.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of Templates: time 0.003679/0.01288, allocations: 0.8883 MB / 325.5 MB, free: 14.94 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.319173905998468]