Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 80.62 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009862/0.0009862, allocations: 153.2 kB / 25.6 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.045/1.045, allocations: 173.4 MB / 202.2 MB, free: 8.289 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 269.2 MB, free: 9.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.824e-05, allocations: 3.281 kB / 269.2 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002088/0.002106, allocations: 1.618 MB / 270.8 MB, free: 8.133 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000657/0.002763, allocations: 480.7 kB / 271.3 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.002841, allocations: 4 kB / 271.3 MB, free: 7.656 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.647e-05/0.002887, allocations: 12.86 kB / 271.3 MB, free: 7.645 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.003013, allocations: 15.88 kB / 271.3 MB, free: 7.629 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.003217, allocations: 48.5 kB / 271.4 MB, free: 7.582 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.536e-05/0.003312, allocations: 43.86 kB / 271.4 MB, free: 7.539 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.243e-05/0.003395, allocations: 12.86 kB / 271.4 MB, free: 7.527 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.003472, allocations: 39.83 kB / 271.5 MB, free: 7.488 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.436e-05/0.003517, allocations: 16.64 kB / 271.5 MB, free: 7.473 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.003532, allocations: 6.969 kB / 271.5 MB, free: 7.469 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.003541, allocations: 4 kB / 271.5 MB, free: 7.465 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.209e-05/0.003583, allocations: 11.94 kB / 271.5 MB, free: 7.453 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.809e-05/0.003601, allocations: 7.984 kB / 271.5 MB, free: 7.445 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.587e-05/0.003697, allocations: 43.77 kB / 271.6 MB, free: 7.402 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003699, allocations: 0 / 271.6 MB, free: 7.402 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.0037, allocations: 4 kB / 271.6 MB, free: 7.398 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.003705, allocations: 3.984 kB / 271.6 MB, free: 7.395 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.0003305/0.004035, allocations: 401.2 kB / 272 MB, free: 6.969 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.00407, allocations: 8.031 kB / 272 MB, free: 6.961 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.004099, allocations: 16.84 kB / 272 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.004239, allocations: 151.2 kB / 272.1 MB, free: 6.773 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-06/0.004245, allocations: 384 / 272.1 MB, free: 6.773 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.004258, allocations: 4.375 kB / 272.1 MB, free: 6.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.004419, allocations: 125.3 kB / 272.3 MB, free: 6.617 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.004425, allocations: 192 / 272.3 MB, free: 6.617 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.004434, allocations: 8.125 kB / 272.3 MB, free: 6.609 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.004439, allocations: 7.984 kB / 272.3 MB, free: 6.602 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.656e-05/0.004456, allocations: 11.88 kB / 272.3 MB, free: 6.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.004647, allocations: 255.8 kB / 272.5 MB, free: 6.305 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.347e-05/0.004711, allocations: 93.23 kB / 272.6 MB, free: 6.176 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.222e-05/0.004733, allocations: 27.12 kB / 272.6 MB, free: 6.137 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.004747, allocations: 0 / 272.6 MB, free: 6.137 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.004767, allocations: 45.31 kB / 272.7 MB, free: 6.082 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.894e-06/0.004769, allocations: 3.984 kB / 272.7 MB, free: 6.078 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001193/0.004888, allocations: 69.52 kB / 272.8 MB, free: 6.004 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.004936, allocations: 106.8 kB / 272.9 MB, free: 5.875 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.416e-05/0.00502, allocations: 189.9 kB / 273.1 MB, free: 5.672 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.005029, allocations: 25.7 kB / 273.1 MB, free: 5.641 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.005075, allocations: 142.8 kB / 273.2 MB, free: 5.496 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.005086, allocations: 3.953 kB / 273.2 MB, free: 5.492 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.005112, allocations: 27.31 kB / 273.2 MB, free: 5.457 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.005225, allocations: 496.1 kB / 273.7 MB, free: 4.961 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-06/0.005233, allocations: 384 / 273.7 MB, free: 4.961 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-06/0.005239, allocations: 7.984 kB / 273.7 MB, free: 4.953 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.908e-05/0.005258, allocations: 11.69 kB / 273.8 MB, free: 4.938 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.00526, allocations: 0 / 273.8 MB, free: 4.938 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.193e-05/0.005302, allocations: 37.66 kB / 273.8 MB, free: 4.895 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.005312, allocations: 7.938 kB / 273.8 MB, free: 4.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.005316, allocations: 0 / 273.8 MB, free: 4.887 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/0.005323, allocations: 0 / 273.8 MB, free: 4.887 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.449e-05/0.005368, allocations: 7.984 kB / 273.8 MB, free: 4.879 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.00537, allocations: 3.938 kB / 273.8 MB, free: 4.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.407e-05/0.005384, allocations: 4.094 kB / 273.8 MB, free: 4.871 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.00539, allocations: 4 kB / 273.8 MB, free: 4.867 MB / 250.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 5.874e-05/0.005448, allocations: 152.6 kB / 274 MB, free: 4.707 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.00549, allocations: 49.64 kB / 274 MB, free: 4.652 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.005516, allocations: 19.86 kB / 274 MB, free: 4.629 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.005517, allocations: 0 / 274 MB, free: 4.629 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.00552, allocations: 4 kB / 274 MB, free: 4.625 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.005523, allocations: 3.938 kB / 274 MB, free: 4.621 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.055e-05/0.005613, allocations: 105.2 kB / 274.1 MB, free: 4.492 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.005615, allocations: 8.062 kB / 274.2 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.005642, allocations: 11.98 kB / 274.2 MB, free: 4.473 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.005643, allocations: 3.938 kB / 274.2 MB, free: 4.469 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-06/0.005647, allocations: 0 / 274.2 MB, free: 4.469 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.005648, allocations: 4 kB / 274.2 MB, free: 4.465 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.00565, allocations: 3.938 kB / 274.2 MB, free: 4.461 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.264e-05/0.005733, allocations: 207.3 kB / 274.4 MB, free: 4.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.005754, allocations: 11.89 kB / 274.4 MB, free: 4.219 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.005763, allocations: 4 kB / 274.4 MB, free: 4.215 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.428e-05/0.005798, allocations: 7.984 kB / 274.4 MB, free: 4.207 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.005817, allocations: 7.969 kB / 274.4 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.00582, allocations: 4 kB / 274.4 MB, free: 4.195 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.607e-05/0.005866, allocations: 142.2 kB / 274.6 MB, free: 4.059 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005866, allocations: 0 / 274.6 MB, free: 4.059 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001364/0.006002, allocations: 4 kB / 274.6 MB, free: 4.055 MB / 250.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 6.45e-05/0.006067, allocations: 103.2 kB / 274.7 MB, free: 3.945 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.182e-05/0.006129, allocations: 15.69 kB / 274.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.00613, allocations: 0 / 274.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.482e-05/0.006144, allocations: 15.69 kB / 274.7 MB, free: 3.906 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.006366, allocations: 28.8 kB / 274.7 MB, free: 3.875 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.006698, allocations: 195.3 kB / 274.9 MB, free: 3.652 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.528e-05/0.006733, allocations: 63.34 kB / 275 MB, free: 3.57 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.997e-05/0.006753, allocations: 7.891 kB / 275 MB, free: 3.562 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.006807, allocations: 82.2 kB / 275.1 MB, free: 3.48 MB / 250.7 MB Notification: Performance of SimCode: time 4.51e-07/0.006807, allocations: 4.25 kB / 275.1 MB, free: 3.477 MB / 250.7 MB Notification: Performance of Templates: time 0.002129/0.008936, allocations: 0.7507 MB / 275.8 MB, free: 2.746 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7305203210562468]