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.001588/0.001588, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001836/0.001836, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.51/1.51, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001725/0.001725, allocations: 43.92 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2922, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003373/0.2955, allocations: 1.628 MB / 434 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.2968, allocations: 0.5415 MB / 434.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.2969, allocations: 4 kB / 434.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.329e-05/0.2969, allocations: 11.86 kB / 434.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.2971, allocations: 7.875 kB / 434.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.2974, allocations: 79.73 kB / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.2976, allocations: 59.78 kB / 434.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.2977, allocations: 12.22 kB / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.2978, allocations: 43.78 kB / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.2979, allocations: 19.86 kB / 434.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.2979, allocations: 7.938 kB / 434.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.931e-05/0.298, allocations: 8 kB / 434.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.236e-05/0.298, allocations: 15.92 kB / 434.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.2981, allocations: 27.8 kB / 434.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.2982, allocations: 74.33 kB / 434.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2982, allocations: 4 kB / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.2982, allocations: 0 / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2982, allocations: 0 / 434.9 MB, free: 4.152 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.0005348/0.2988, allocations: 321.8 kB / 435.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2988, allocations: 8.031 kB / 435.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.299, allocations: 24.83 kB / 435.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.2994, allocations: 154.3 kB / 435.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.2994, allocations: 384 / 435.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.2994, allocations: 8.375 kB / 435.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.2997, allocations: 143 kB / 435.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2997, allocations: 0 / 435.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.2998, allocations: 0 / 435.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.2998, allocations: 4 kB / 435.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.108e-05/0.2998, allocations: 31.84 kB / 435.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.3002, allocations: 235.1 kB / 435.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.3004, allocations: 94.36 kB / 435.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.492e-05/0.3004, allocations: 43.42 kB / 435.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.3005, allocations: 3.984 kB / 435.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.3005, allocations: 38.56 kB / 436 MB, free: 2.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3005, allocations: 0 / 436 MB, free: 2.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003357/0.3008, allocations: 101.5 kB / 436.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.481e-05/0.3009, allocations: 132.5 kB / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.3011, allocations: 151.9 kB / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.3011, allocations: 25.7 kB / 436.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.3012, allocations: 96.12 kB / 436.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.3012, allocations: 11.89 kB / 436.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.3012, allocations: 25.7 kB / 436.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3014, allocations: 315.3 kB / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.066e-05/0.3014, allocations: 15.98 kB / 436.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.055e-05/0.3015, allocations: 49.14 kB / 436.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.3016, allocations: 61.08 kB / 436.9 MB, free: 1.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3016, allocations: 7.875 kB / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001697/0.3018, allocations: 89.5 kB / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3018, allocations: 8 kB / 437 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3018, allocations: 0 / 437 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3019, allocations: 0 / 437 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.979e-05/0.3019, allocations: 15.94 kB / 437 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.302, allocations: 3.984 kB / 437 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.302, allocations: 4 kB / 437.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.302, allocations: 4.188 kB / 437.1 MB, free: 1.684 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.0001128/0.3021, allocations: 133.7 kB / 437.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.3022, allocations: 69.53 kB / 437.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.3023, allocations: 19.91 kB / 437.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3023, allocations: 0 / 437.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.3023, allocations: 4 kB / 437.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3023, allocations: 0 / 437.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.3025, allocations: 125.2 kB / 437.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3025, allocations: 0 / 437.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.242e-05/0.3025, allocations: 24.09 kB / 437.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3025, allocations: 4 kB / 437.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.3026, allocations: 7.984 kB / 437.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3026, allocations: 0 / 437.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3026, allocations: 0 / 437.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.3028, allocations: 198 kB / 437.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.3028, allocations: 19.94 kB / 437.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.3029, allocations: 4 kB / 437.7 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.3029, allocations: 4 kB / 437.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.303, allocations: 3.938 kB / 437.7 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.303, allocations: 8 kB / 437.7 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.3031, allocations: 118.9 kB / 437.8 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3031, allocations: 0 / 437.8 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.3033, allocations: 8 kB / 437.8 MB, free: 0.875 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.0001054/0.3034, allocations: 99.23 kB / 437.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001657/0.3036, allocations: 39.92 kB / 437.9 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3036, allocations: 384 / 437.9 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-05/0.3037, allocations: 15.98 kB / 437.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.3041, allocations: 54.52 kB / 438 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.3045, allocations: 243.4 kB / 438.2 MB, free: 396 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.944e-05/0.3046, allocations: 76.08 kB / 438.3 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.3046, allocations: 19.42 kB / 438.3 MB, free: 280 kB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3046, allocations: 352 / 438.3 MB, free: 280 kB / 334.1 MB Notification: Performance of Templates: time 0.002941/0.3076, allocations: 1.052 MB / 439.4 MB, free: 15.22 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: 7.031240310985595]