Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.001071/0.001071, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0013/0.0013, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.961/0.961, allocations: 177.1 MB / 206 MB, free: 4.504 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.011e-05/3.159e-05, allocations: 2.312 kB / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002318/0.00235, allocations: 1.627 MB / 275.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008007/0.00315, allocations: 0.5361 MB / 276.4 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-05/0.003242, allocations: 0 / 276.4 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.711e-05/0.0033, allocations: 11.86 kB / 276.4 MB, free: 2.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.003437, allocations: 11.88 kB / 276.4 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.003723, allocations: 64.3 kB / 276.4 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.003823, allocations: 52.92 kB / 276.5 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.445e-05/0.003908, allocations: 8.172 kB / 276.5 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.004038, allocations: 35.89 kB / 276.5 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/0.004088, allocations: 21.27 kB / 276.6 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.004104, allocations: 4 kB / 276.6 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.933e-05/0.004143, allocations: 4 kB / 276.6 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.004188, allocations: 15.94 kB / 276.6 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.004212, allocations: 23.91 kB / 276.6 MB, free: 2.016 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.004327, allocations: 43.77 kB / 276.7 MB, free: 1.973 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004329, allocations: 0 / 276.7 MB, free: 1.973 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00433, allocations: 4 kB / 276.7 MB, free: 1.969 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.004335, allocations: 0 / 276.7 MB, free: 1.969 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003638/0.004698, allocations: 404.2 kB / 277.1 MB, free: 1.539 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.004737, allocations: 12.03 kB / 277.1 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.004861, allocations: 24.88 kB / 277.1 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.005025, allocations: 160.9 kB / 277.2 MB, free: 1.32 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.005033, allocations: 384 / 277.2 MB, free: 1.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.00504, allocations: 4.375 kB / 277.3 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.005221, allocations: 133 kB / 277.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.005229, allocations: 0 / 277.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.005238, allocations: 8 kB / 277.4 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.005243, allocations: 0 / 277.4 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.776e-05/0.005261, allocations: 8 kB / 277.4 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.005484, allocations: 255.8 kB / 277.6 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.241e-05/0.005557, allocations: 89.23 kB / 277.7 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.005588, allocations: 31.12 kB / 277.8 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.005604, allocations: 7.922 kB / 277.8 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.005624, allocations: 37.39 kB / 277.8 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.005625, allocations: 0 / 277.8 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001475/0.005773, allocations: 69.7 kB / 277.9 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.005826, allocations: 106.8 kB / 278 MB, free: 440 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.993e-05/0.005926, allocations: 199.9 kB / 278.2 MB, free: 224 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.005936, allocations: 25.7 kB / 278.2 MB, free: 192 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.00599, allocations: 142.7 kB / 278.3 MB, free: 44 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.006004, allocations: 3.984 kB / 278.3 MB, free: 40 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.006029, allocations: 19.38 kB / 278.4 MB, free: 12 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.006164, allocations: 496.1 kB / 278.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.006175, allocations: 0 / 278.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.105e-06/0.006183, allocations: 4.188 kB / 278.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/0.006209, allocations: 19.69 kB / 278.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.006212, allocations: 3.938 kB / 278.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.477e-05/0.006267, allocations: 37.66 kB / 278.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.006279, allocations: 4 kB / 278.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.006285, allocations: 7.984 kB / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.567e-06/0.006295, allocations: 0 / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.09e-05/0.006346, allocations: 0 / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.006348, allocations: 0 / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.006366, allocations: 4 kB / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.006372, allocations: 4.031 kB / 278.9 MB, free: 15.42 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.772e-05/0.006439, allocations: 164.4 kB / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.006495, allocations: 57.58 kB / 279.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.00652, allocations: 7.969 kB / 279.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.006524, allocations: 4 kB / 279.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.006526, allocations: 0 / 279.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.006531, allocations: 0 / 279.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.006633, allocations: 105.2 kB / 279.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.006636, allocations: 4 kB / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.006667, allocations: 8.047 kB / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.006671, allocations: 11.94 kB / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.006677, allocations: 4 kB / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.006679, allocations: 7.922 kB / 279.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.006681, allocations: 0 / 279.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.006785, allocations: 207.3 kB / 279.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.006815, allocations: 23.81 kB / 279.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.006825, allocations: 0 / 279.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.497e-05/0.00686, allocations: 4 kB / 279.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.006883, allocations: 0 / 279.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.006888, allocations: 8.031 kB / 279.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.485e-05/0.006943, allocations: 150.1 kB / 279.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006943, allocations: 0 / 279.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000145/0.007088, allocations: 4 kB / 279.7 MB, free: 14.6 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.658e-05/0.007174, allocations: 99.19 kB / 279.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.39e-05/0.007248, allocations: 15.69 kB / 279.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.00725, allocations: 0 / 279.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.455e-05/0.007265, allocations: 15.67 kB / 279.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.007523, allocations: 36.8 kB / 279.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.007941, allocations: 180.5 kB / 280 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.728e-05/0.007988, allocations: 67.2 kB / 280.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.469e-05/0.008013, allocations: 0 / 280.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.371e-05/0.008077, allocations: 86.19 kB / 280.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.008078, allocations: 0 / 280.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of Templates: time 0.002519/0.0106, allocations: 0.7625 MB / 280.9 MB, free: 13.29 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.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.8502406179904938]