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.001603/0.001603, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.001309/0.001309, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.072/1.072, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.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.473e-06/1.473e-06, allocations: 0 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.128e-05, allocations: 2.312 kB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.005641/0.005662, allocations: 1.68 MB / 274.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009551/0.006618, allocations: 0.5646 MB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.006724, allocations: 11.94 kB / 275.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.455e-05/0.006788, allocations: 11.81 kB / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.006961, allocations: 19.86 kB / 275.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003378/0.01034, allocations: 63.73 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.01046, allocations: 59.73 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.948e-05/0.01056, allocations: 20.2 kB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.01069, allocations: 43.84 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.01075, allocations: 23.91 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.01076, allocations: 0 / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.959e-05/0.0108, allocations: 8 kB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.01085, allocations: 19.92 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.01087, allocations: 15.94 kB / 275.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.01102, allocations: 55.73 kB / 275.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.01102, allocations: 4 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01102, allocations: 0 / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.01102, allocations: 0 / 275.6 MB, free: 14.93 MB / 266.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.0004246/0.01145, allocations: 412.2 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.01149, allocations: 8.031 kB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.01161, allocations: 32.77 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.0118, allocations: 158.9 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.01181, allocations: 384 / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.01183, allocations: 8.359 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.01209, allocations: 152.9 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.0121, allocations: 192 / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.01211, allocations: 384 / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.01212, allocations: 7.938 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.765e-05/0.01216, allocations: 23.92 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.01246, allocations: 294.8 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.01257, allocations: 116.3 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.01262, allocations: 50.8 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.01265, allocations: 4 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.01267, allocations: 41.31 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.01267, allocations: 8 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002034/0.01288, allocations: 81.45 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.01295, allocations: 140.5 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.01307, allocations: 201.8 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.01308, allocations: 29.7 kB / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003079/0.01616, allocations: 134.9 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.01618, allocations: 3.953 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.01621, allocations: 23.88 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.01636, allocations: 0.4884 MB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.01637, allocations: 4 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-06/0.01638, allocations: 0 / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.885e-05/0.01641, allocations: 15.69 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01641, allocations: 0 / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.39e-05/0.01647, allocations: 45.58 kB / 278 MB, free: 12.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.01649, allocations: 4 kB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01649, allocations: 3.938 kB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.01651, allocations: 0 / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.393e-05/0.01657, allocations: 8 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.01658, allocations: 4.094 kB / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.856e-05/0.0166, allocations: 0 / 278 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.0166, allocations: 0 / 278 MB, free: 12.16 MB / 266.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 0.000106/0.01671, allocations: 160.6 kB / 278.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.479e-05/0.01678, allocations: 65.53 kB / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.01682, allocations: 15.95 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01682, allocations: 0 / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01682, allocations: 4 kB / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01683, allocations: 0 / 278.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.01696, allocations: 136.7 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01696, allocations: 0 / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.962e-05/0.017, allocations: 12 kB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.017, allocations: 3.984 kB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.01702, allocations: 7.938 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01702, allocations: 0 / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.01702, allocations: 3.938 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.01717, allocations: 242.9 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.0172, allocations: 15.94 kB / 278.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.01722, allocations: 3.938 kB / 278.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.56e-05/0.01727, allocations: 15.94 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.0173, allocations: 0 / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.01731, allocations: 7.984 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.983e-05/0.01738, allocations: 147 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01738, allocations: 0 / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000216/0.01759, allocations: 8 kB / 278.9 MB, free: 11.25 MB / 266.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 8.054e-05/0.01767, allocations: 107.1 kB / 279 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.01783, allocations: 19.69 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.01783, allocations: 8.062 kB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.638e-05/0.01785, allocations: 11.62 kB / 279 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.01821, allocations: 37.48 kB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005363/0.01874, allocations: 216.3 kB / 279.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.626e-05/0.01879, allocations: 67.34 kB / 279.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.679e-05/0.01882, allocations: 8.328 kB / 279.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.01884, allocations: 12.5 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01885, allocations: 0 / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of Templates: time 0.00427/0.02311, allocations: 0.914 MB / 280.3 MB, free: 9.793 MB / 266.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 -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: 3.330818467773497]