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.0008167/0.0008167, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003447/0.003447, allocations: 160.9 kB / 24.7 MB, free: 9.426 MB / 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 0.8889/0.8889, allocations: 177.2 MB / 205 MB, free: 5.723 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.854e-06/1.854e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.201e-05, allocations: 8.609 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002872/0.002894, allocations: 1.637 MB / 327.5 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.003906, allocations: 0.5491 MB / 328 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.004037, allocations: 7.938 kB / 328 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.648e-05/0.004103, allocations: 7.875 kB / 328 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.004299, allocations: 15.86 kB / 328.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.004747, allocations: 76.48 kB / 328.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.005093, allocations: 59.78 kB / 328.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.005215, allocations: 16.22 kB / 328.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.005382, allocations: 43.83 kB / 328.3 MB, free: 13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.625e-05/0.005448, allocations: 19.92 kB / 328.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.005468, allocations: 0 / 328.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.557e-05/0.005514, allocations: 11.98 kB / 328.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.803e-05/0.005562, allocations: 15.92 kB / 328.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.00559, allocations: 15.94 kB / 328.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.005762, allocations: 75.64 kB / 328.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.005764, allocations: 4 kB / 328.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005765, allocations: 0 / 328.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.00577, allocations: 0 / 328.4 MB, free: 12.86 MB / 298.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.0004587/0.006229, allocations: 317.2 kB / 328.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.00627, allocations: 8.031 kB / 328.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.006419, allocations: 24.83 kB / 328.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.006656, allocations: 150.5 kB / 328.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.006667, allocations: 12.38 kB / 328.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.00668, allocations: 4.375 kB / 328.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.006994, allocations: 135.3 kB / 329 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.007005, allocations: 8.062 kB / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.007017, allocations: 4.375 kB / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.007025, allocations: 7.938 kB / 329.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.806e-05/0.007103, allocations: 19.98 kB / 329.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000323/0.007426, allocations: 243 kB / 329.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.007552, allocations: 90.42 kB / 329.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.564e-05/0.007618, allocations: 39.48 kB / 329.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.007643, allocations: 3.938 kB / 329.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.007674, allocations: 46.5 kB / 329.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.007676, allocations: 0 / 329.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002922/0.007968, allocations: 105.6 kB / 329.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.008045, allocations: 136.5 kB / 329.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.008173, allocations: 148.8 kB / 329.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.008187, allocations: 29.7 kB / 329.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.008237, allocations: 88.14 kB / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.008258, allocations: 11.94 kB / 330 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.008292, allocations: 13.72 kB / 330 MB, free: 11.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.008383, allocations: 315.2 kB / 330.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.94e-05/0.008423, allocations: 11.98 kB / 330.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.241e-05/0.008445, allocations: 8 kB / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.437e-05/0.0085, allocations: 24.78 kB / 330.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.008502, allocations: 0 / 330.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.682e-05/0.008599, allocations: 49.58 kB / 330.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.008615, allocations: 8 kB / 330.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.00862, allocations: 0 / 330.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.008633, allocations: 96 / 330.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.3e-05/0.008696, allocations: 11.98 kB / 330.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.008702, allocations: 3.938 kB / 330.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.008727, allocations: 0 / 330.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.008733, allocations: 0 / 330.4 MB, free: 10.57 MB / 298.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 8.149e-05/0.008814, allocations: 125.8 kB / 330.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.39e-05/0.008908, allocations: 65.52 kB / 330.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.008947, allocations: 15.92 kB / 330.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.008952, allocations: 4 kB / 330.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.008957, allocations: 8.031 kB / 330.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.008961, allocations: 0 / 330.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.009114, allocations: 125.3 kB / 330.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.009117, allocations: 4 kB / 330.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.73e-05/0.009185, allocations: 11.98 kB / 330.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.009188, allocations: 0 / 330.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.009198, allocations: 11.94 kB / 330.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.0092, allocations: 0 / 330.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.009203, allocations: 7.938 kB / 330.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.009388, allocations: 194 kB / 331 MB, free: 9.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.009432, allocations: 23.94 kB / 331 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.00945, allocations: 3.938 kB / 331 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.611e-05/0.009516, allocations: 4 kB / 331 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.009552, allocations: 7.969 kB / 331 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.009559, allocations: 4 kB / 331 MB, free: 9.898 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.189e-05/0.009651, allocations: 122.2 kB / 331.2 MB, free: 9.781 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009651, allocations: 0 / 331.2 MB, free: 9.781 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.009888, allocations: 8 kB / 331.2 MB, free: 9.773 MB / 298.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 9.524e-05/0.009984, allocations: 95.19 kB / 331.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.01012, allocations: 39.92 kB / 331.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01013, allocations: 0 / 331.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.965e-05/0.01016, allocations: 7.984 kB / 331.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.01055, allocations: 35.97 kB / 331.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006636/0.01121, allocations: 230.5 kB / 331.6 MB, free: 9.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.037e-05/0.0113, allocations: 87.73 kB / 331.6 MB, free: 9.215 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.01134, allocations: 16.48 kB / 331.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01134, allocations: 0 / 331.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of Templates: time 0.002393/0.01373, allocations: 1.012 MB / 332.7 MB, free: 8.195 MB / 298.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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/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: 4.128862163051963]