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.001929/0.001929, allocations: 99.86 kB / 20.96 MB, free: 3.457 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.001877/0.001877, allocations: 145.1 kB / 24.26 MB, free: 168 kB / 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.566/1.566, allocations: 173.3 MB / 200.8 MB, free: 9.293 MB / 186.7 MB " [Timeout remaining time 178] 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.813e-06/1.813e-06, allocations: 0 / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.358e-05/3.54e-05, allocations: 10.31 kB / 267.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003358/0.003394, allocations: 1.592 MB / 268.9 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.004425, allocations: 486.3 kB / 269.4 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.676e-05/0.004512, allocations: 4 kB / 269.4 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.663e-05/0.004599, allocations: 11.86 kB / 269.4 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.004736, allocations: 3.938 kB / 269.4 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.00503, allocations: 55.75 kB / 269.5 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.005168, allocations: 47.78 kB / 269.5 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.00527, allocations: 12.19 kB / 269.5 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.005384, allocations: 31.89 kB / 269.6 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.005444, allocations: 15.92 kB / 269.6 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.005469, allocations: 8 kB / 269.6 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.005482, allocations: 0 / 269.6 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.005549, allocations: 15.94 kB / 269.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.005586, allocations: 19.91 kB / 269.6 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.005736, allocations: 51.8 kB / 269.7 MB, free: 4.336 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.005742, allocations: 4 kB / 269.7 MB, free: 4.332 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005743, allocations: 0 / 269.7 MB, free: 4.332 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.005748, allocations: 0 / 269.7 MB, free: 4.332 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.0006667/0.006415, allocations: 400 kB / 270.1 MB, free: 3.906 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.006456, allocations: 8.031 kB / 270.1 MB, free: 3.898 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.872e-05/0.006515, allocations: 24.84 kB / 270.1 MB, free: 3.875 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.006776, allocations: 152.3 kB / 270.2 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.006787, allocations: 384 / 270.2 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.0068, allocations: 4.375 kB / 270.3 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.007131, allocations: 128.6 kB / 270.4 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.007141, allocations: 192 / 270.4 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.007153, allocations: 4.125 kB / 270.4 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.007159, allocations: 4 kB / 270.4 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.508e-05/0.007234, allocations: 19.94 kB / 270.4 MB, free: 3.516 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.007641, allocations: 279.2 kB / 270.7 MB, free: 3.199 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.007802, allocations: 97.25 kB / 270.8 MB, free: 3.066 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.153e-05/0.007884, allocations: 47.11 kB / 270.8 MB, free: 3.008 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.007908, allocations: 0 / 270.8 MB, free: 3.008 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.007952, allocations: 45.27 kB / 270.9 MB, free: 2.953 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.007953, allocations: 0 / 270.9 MB, free: 2.953 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002819/0.008235, allocations: 81.56 kB / 270.9 MB, free: 2.867 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.644e-05/0.008331, allocations: 110.8 kB / 271.1 MB, free: 2.734 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.008543, allocations: 201.9 kB / 271.2 MB, free: 2.52 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.008564, allocations: 25.7 kB / 271.3 MB, free: 2.488 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.456e-05/0.008658, allocations: 138.9 kB / 271.4 MB, free: 2.348 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.008679, allocations: 11.89 kB / 271.4 MB, free: 2.336 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.008717, allocations: 15.38 kB / 271.4 MB, free: 2.312 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002634/0.008981, allocations: 0.4888 MB / 271.9 MB, free: 1.812 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-05/0.009017, allocations: 15.92 kB / 271.9 MB, free: 1.797 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.176e-05/0.009039, allocations: 4 kB / 271.9 MB, free: 1.793 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.323e-05/0.009102, allocations: 19.69 kB / 272 MB, free: 1.77 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.009104, allocations: 0 / 272 MB, free: 1.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001057/0.00921, allocations: 53.58 kB / 272 MB, free: 1.711 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.009226, allocations: 4 kB / 272 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.009231, allocations: 0 / 272 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.009245, allocations: 0 / 272 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-05/0.009327, allocations: 16.02 kB / 272 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.009332, allocations: 0 / 272 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.009359, allocations: 3.938 kB / 272 MB, free: 1.688 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.009365, allocations: 0 / 272 MB, free: 1.688 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 0.0001215/0.009487, allocations: 160.6 kB / 272.2 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.296e-05/0.00958, allocations: 57.58 kB / 272.3 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.009626, allocations: 15.92 kB / 272.3 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.00963, allocations: 3.984 kB / 272.3 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.009635, allocations: 0 / 272.3 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.009638, allocations: 0 / 272.3 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.00983, allocations: 144.7 kB / 272.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.009834, allocations: 7.938 kB / 272.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.823e-05/0.009892, allocations: 8 kB / 272.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.009894, allocations: 0 / 272.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.009905, allocations: 3.938 kB / 272.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.009909, allocations: 3.984 kB / 272.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.00991, allocations: 4 kB / 272.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.01016, allocations: 227.3 kB / 272.7 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.01022, allocations: 19.88 kB / 272.7 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.01024, allocations: 3.938 kB / 272.7 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.271e-05/0.01031, allocations: 4 kB / 272.7 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.01034, allocations: 8 kB / 272.7 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.01035, allocations: 3.984 kB / 272.7 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.01047, allocations: 150.3 kB / 272.8 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01047, allocations: 4 kB / 272.9 MB, free: 0.793 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.01068, allocations: 4 kB / 272.9 MB, free: 0.7891 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 0.0001276/0.0108, allocations: 95.25 kB / 272.9 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.01095, allocations: 31.67 kB / 273 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01095, allocations: 0 / 273 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/0.011, allocations: 19.61 kB / 273 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.01141, allocations: 32.8 kB / 273 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.01184, allocations: 184.3 kB / 273.2 MB, free: 388 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.01211, allocations: 79.31 kB / 273.3 MB, free: 288 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.028e-05/0.01214, allocations: 320 / 273.3 MB, free: 288 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.01217, allocations: 16.5 kB / 273.3 MB, free: 272 kB / 250.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01217, allocations: 0 / 273.3 MB, free: 272 kB / 250.7 MB Notification: Performance of Templates: time 0.003719/0.01589, allocations: 0.6998 MB / 274 MB, free: 15.59 MB / 266.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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.309523403062485]