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.00107/0.00107, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001117/0.001117, allocations: 161.4 kB / 24.55 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.077/1.077, allocations: 177.2 MB / 205 MB, free: 5.609 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 2.334e-06/2.334e-06, allocations: 0 / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.639e-05/3.872e-05, allocations: 2.312 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.00358/0.003618, allocations: 1.676 MB / 274.7 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.004896, allocations: 0.5685 MB / 275.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.004999, allocations: 4 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.022e-05/0.005059, allocations: 11.86 kB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.005212, allocations: 23.8 kB / 275.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.005516, allocations: 59.75 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.005625, allocations: 67.7 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.005724, allocations: 16.17 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000421/0.006145, allocations: 51.88 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.888e-05/0.006194, allocations: 15.92 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.006211, allocations: 0 / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.982e-05/0.00625, allocations: 8 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.626e-05/0.006297, allocations: 15.94 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.006323, allocations: 23.91 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.006461, allocations: 55.7 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.006465, allocations: 0 / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006466, allocations: 4 kB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.006471, allocations: 0 / 275.6 MB, free: 14.9 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.0004242/0.006895, allocations: 416.2 kB / 276 MB, free: 14.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.006933, allocations: 8.031 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.007064, allocations: 20.84 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.007252, allocations: 166.8 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.007263, allocations: 4.375 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.007273, allocations: 4.375 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.007532, allocations: 160.9 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.007539, allocations: 192 / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.007549, allocations: 384 / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.007559, allocations: 7.938 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.052e-05/0.00759, allocations: 15.94 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.007865, allocations: 294.8 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.007965, allocations: 124.2 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.028e-05/0.008005, allocations: 38.88 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.008025, allocations: 4 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.008049, allocations: 41.33 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.008051, allocations: 4 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001775/0.008228, allocations: 85.5 kB / 277 MB, free: 13.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.008287, allocations: 140.4 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.008398, allocations: 201.9 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.008409, allocations: 25.7 kB / 277.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.008459, allocations: 138.9 kB / 277.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.008476, allocations: 7.938 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.008501, allocations: 19.38 kB / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.008609, allocations: 0.4884 MB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.00862, allocations: 0.5 kB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-06/0.008627, allocations: 4 kB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.618e-05/0.008654, allocations: 15.67 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.008656, allocations: 0 / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.286e-05/0.008708, allocations: 45.53 kB / 278 MB, free: 12.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.008721, allocations: 4 kB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.008726, allocations: 4 kB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.008738, allocations: 0 / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.008807, allocations: 7.984 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.008813, allocations: 0 / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.008828, allocations: 4.094 kB / 278 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.008835, allocations: 0 / 278 MB, free: 12.13 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 6.374e-05/0.008898, allocations: 160.6 kB / 278.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.008959, allocations: 65.52 kB / 278.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.008987, allocations: 11.97 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.00899, allocations: 0 / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.008995, allocations: 4 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.008999, allocations: 3.984 kB / 278.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.009105, allocations: 128.6 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.009106, allocations: 4.094 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.00915, allocations: 23.92 kB / 278.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.009153, allocations: 0 / 278.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.009161, allocations: 7.938 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.009164, allocations: 0 / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.009165, allocations: 0 / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.00929, allocations: 242.9 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.00932, allocations: 15.95 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.009332, allocations: 7.875 kB / 278.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.876e-05/0.009371, allocations: 7.984 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.0094, allocations: 7.938 kB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.009405, allocations: 4 kB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.653e-05/0.009462, allocations: 155 kB / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009462, allocations: 0 / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001408/0.009603, allocations: 4 kB / 278.9 MB, free: 11.21 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.009683, allocations: 103.2 kB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.443e-05/0.009768, allocations: 23.61 kB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.009771, allocations: 4 kB / 279 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.345e-05/0.009785, allocations: 11.75 kB / 279 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.01006, allocations: 37.5 kB / 279.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.01055, allocations: 220.3 kB / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.181e-05/0.01059, allocations: 63.34 kB / 279.3 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.418e-05/0.01062, allocations: 7.984 kB / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.01065, allocations: 8.844 kB / 279.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01065, allocations: 4 kB / 279.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of Templates: time 0.002753/0.0134, allocations: 0.9714 MB / 280.3 MB, free: 9.707 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: 2.9252171381376684]