Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.0008072/0.0008072, allocations: 84 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.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.002968/0.002968, allocations: 144.8 kB / 24.68 MB, free: 8.914 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 0.8123/0.8123, allocations: 173.4 MB / 201.2 MB, free: 9.461 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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.91e-07/9.91e-07, allocations: 3.938 kB / 319.7 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.332e-05, allocations: 2.281 kB / 319.7 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.0016/0.001614, allocations: 1.551 MB / 321.2 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005615/0.002175, allocations: 474.6 kB / 321.7 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.94e-05/0.002245, allocations: 0 / 321.7 MB, free: 3.848 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.708e-05/0.002282, allocations: 3.938 kB / 321.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.002398, allocations: 15.86 kB / 321.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.002601, allocations: 55.77 kB / 321.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.498e-05/0.002686, allocations: 55.72 kB / 321.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.251e-05/0.002768, allocations: 12.16 kB / 321.8 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.904e-05/0.002827, allocations: 27.97 kB / 321.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.433e-05/0.002872, allocations: 15.92 kB / 321.9 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.002893, allocations: 4 kB / 321.9 MB, free: 3.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-06/0.002902, allocations: 4 kB / 321.9 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.00294, allocations: 15.92 kB / 321.9 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.00296, allocations: 11.94 kB / 321.9 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.588e-05/0.003055, allocations: 55.73 kB / 322 MB, free: 3.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003057, allocations: 4 kB / 322 MB, free: 3.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.003058, allocations: 4 kB / 322 MB, free: 3.566 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.003061, allocations: 0 / 322 MB, free: 3.566 MB / 282.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.0003291/0.00339, allocations: 305.2 kB / 322.3 MB, free: 3.242 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.00342, allocations: 12.92 kB / 322.3 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.003448, allocations: 16.84 kB / 322.3 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.003598, allocations: 133.6 kB / 322.4 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.003607, allocations: 4.375 kB / 322.4 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.003618, allocations: 4.375 kB / 322.4 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.003812, allocations: 105.6 kB / 322.5 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.003822, allocations: 192 / 322.5 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.003831, allocations: 8.062 kB / 322.5 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.003834, allocations: 0 / 322.5 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.355e-05/0.003878, allocations: 23.97 kB / 322.6 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.004078, allocations: 205.4 kB / 322.8 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.281e-05/0.00413, allocations: 53.14 kB / 322.8 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/0.004157, allocations: 21.78 kB / 322.8 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.004175, allocations: 7.984 kB / 322.8 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.004192, allocations: 34.5 kB / 322.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 6.42e-07/0.004192, allocations: 0 / 322.9 MB, free: 2.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001551/0.004347, allocations: 69.56 kB / 322.9 MB, free: 2.441 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.004387, allocations: 85.05 kB / 323 MB, free: 2.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.076e-05/0.004468, allocations: 137.8 kB / 323.2 MB, free: 2.195 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.004475, allocations: 29.95 kB / 323.2 MB, free: 2.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.004509, allocations: 88.12 kB / 323.3 MB, free: 2.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.004521, allocations: 7.953 kB / 323.3 MB, free: 2.062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.004542, allocations: 13.72 kB / 323.3 MB, free: 2.043 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.691e-05/0.004609, allocations: 314.8 kB / 323.6 MB, free: 1.727 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.00463, allocations: 11.98 kB / 323.6 MB, free: 1.715 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.371e-05/0.004644, allocations: 4 kB / 323.6 MB, free: 1.711 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.421e-05/0.004678, allocations: 16.84 kB / 323.6 MB, free: 1.691 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.004679, allocations: 0 / 323.6 MB, free: 1.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.413e-05/0.004733, allocations: 57.69 kB / 323.7 MB, free: 1.629 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.004744, allocations: 7.938 kB / 323.7 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.004749, allocations: 3.938 kB / 323.7 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.004762, allocations: 3.984 kB / 323.7 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.278e-05/0.004805, allocations: 4 kB / 323.7 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.004809, allocations: 3.938 kB / 323.7 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/0.004825, allocations: 7.953 kB / 323.7 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.00483, allocations: 0 / 323.7 MB, free: 1.598 MB / 282.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.546e-05/0.004886, allocations: 121.9 kB / 323.8 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.004915, allocations: 37.64 kB / 323.9 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.004938, allocations: 11.81 kB / 323.9 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.004941, allocations: 3.984 kB / 323.9 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.004945, allocations: 0 / 323.9 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.004947, allocations: 0 / 323.9 MB, free: 1.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.403e-05/0.005031, allocations: 121.3 kB / 324 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.005034, allocations: 4 kB / 324 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.628e-05/0.00505, allocations: 4 kB / 324 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.005052, allocations: 3.984 kB / 324 MB, free: 1.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.005059, allocations: 7.969 kB / 324 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.005061, allocations: 7.922 kB / 324 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-07/0.005062, allocations: 4 kB / 324 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.214e-05/0.005144, allocations: 152.4 kB / 324.2 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.005165, allocations: 11.98 kB / 324.2 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.005176, allocations: 3.938 kB / 324.2 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.089e-05/0.005207, allocations: 4 kB / 324.2 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.005229, allocations: 3.984 kB / 324.2 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.005231, allocations: 0 / 324.2 MB, free: 1.039 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.549e-05/0.005276, allocations: 113.8 kB / 324.3 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005276, allocations: 4.031 kB / 324.3 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001319/0.005408, allocations: 4 kB / 324.3 MB, free: 0.9219 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 5.411e-05/0.005462, allocations: 99.23 kB / 324.4 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.137e-05/0.005534, allocations: 23.92 kB / 324.5 MB, free: 0.793 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.005535, allocations: 0 / 324.5 MB, free: 0.793 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.601e-05/0.005551, allocations: 4 kB / 324.5 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.005764, allocations: 20.23 kB / 324.5 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.005985, allocations: 187.3 kB / 324.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.593e-05/0.006031, allocations: 79.27 kB / 324.7 MB, free: 464 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.006053, allocations: 12.5 kB / 324.8 MB, free: 452 kB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.006054, allocations: 0 / 324.8 MB, free: 452 kB / 282.7 MB Notification: Performance of Templates: time 0.001328/0.007382, allocations: 0.7762 MB / 325.5 MB, free: 15.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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: 3.9628034103661776]