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.001674/0.001674, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 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.001876/0.001876, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 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.439/1.439, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 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.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 0.001477/0.001477, allocations: 47.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3064, allocations: 52.13 MB / 420.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003034/0.3094, allocations: 1.591 MB / 422.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008483/0.3102, allocations: 0.4909 MB / 422.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.3103, allocations: 3.938 kB / 422.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.151e-05/0.3104, allocations: 7.875 kB / 422.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.3105, allocations: 11.92 kB / 422.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.3107, allocations: 54.69 kB / 423 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.3108, allocations: 47.8 kB / 423 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.189e-05/0.3109, allocations: 12.17 kB / 423.1 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.946e-05/0.311, allocations: 27.86 kB / 423.1 MB, free: 13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.774e-05/0.3111, allocations: 27.84 kB / 423.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.3111, allocations: 0 / 423.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.3111, allocations: 4 kB / 423.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.3111, allocations: 11.94 kB / 423.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.3112, allocations: 31.8 kB / 423.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.3113, allocations: 49.3 kB / 423.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3113, allocations: 0 / 423.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3113, allocations: 4 kB / 423.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.3113, allocations: 0 / 423.2 MB, free: 12.88 MB / 334.1 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.0004989/0.3118, allocations: 387 kB / 423.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.3118, allocations: 8.031 kB / 423.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.3119, allocations: 12.89 kB / 423.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.3121, allocations: 196.1 kB / 423.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.3121, allocations: 4.375 kB / 423.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.3121, allocations: 8.375 kB / 423.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.3124, allocations: 117.1 kB / 423.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3124, allocations: 0 / 423.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.3124, allocations: 0 / 423.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3124, allocations: 0 / 423.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.397e-05/0.3125, allocations: 19.98 kB / 423.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.3129, allocations: 269.7 kB / 424.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.079e-05/0.313, allocations: 33.22 kB / 424.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.313, allocations: 29.7 kB / 424.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.313, allocations: 0 / 424.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.313, allocations: 34.56 kB / 424.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.3131, allocations: 0 / 424.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002482/0.3133, allocations: 73.56 kB / 424.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.3134, allocations: 77.11 kB / 424.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.3135, allocations: 145.8 kB / 424.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.3135, allocations: 25.7 kB / 424.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.3136, allocations: 92.39 kB / 424.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.3136, allocations: 4 kB / 424.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.3136, allocations: 13.67 kB / 424.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3138, allocations: 326.8 kB / 425 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.3138, allocations: 4 kB / 425.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.232e-05/0.3138, allocations: 21.7 kB / 425.1 MB, free: 10.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.734e-05/0.3139, allocations: 37.64 kB / 425.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3139, allocations: 0 / 425.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001153/0.314, allocations: 53.62 kB / 425.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.314, allocations: 8 kB / 425.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3141, allocations: 4 kB / 425.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3141, allocations: 0 / 425.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-05/0.3141, allocations: 8.047 kB / 425.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3141, allocations: 4 kB / 425.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.593e-05/0.3142, allocations: 4 kB / 425.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.3142, allocations: 0 / 425.2 MB, free: 10.63 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001009/0.3143, allocations: 125.7 kB / 425.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.3143, allocations: 41.66 kB / 425.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.3144, allocations: 7.875 kB / 425.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3144, allocations: 0 / 425.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3144, allocations: 0 / 425.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3144, allocations: 8.031 kB / 425.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.3146, allocations: 173.5 kB / 425.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3146, allocations: 0 / 425.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/0.3146, allocations: 11.92 kB / 425.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3146, allocations: 4 kB / 425.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.3146, allocations: 0 / 425.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3146, allocations: 0 / 425.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3146, allocations: 0 / 425.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.3148, allocations: 168.3 kB / 425.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-05/0.3149, allocations: 96.98 kB / 425.8 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.3149, allocations: 0 / 425.8 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.501e-05/0.315, allocations: 4 kB / 425.8 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.315, allocations: 0 / 425.8 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.315, allocations: 3.938 kB / 425.8 MB, free: 9.895 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.23e-05/0.3151, allocations: 117.6 kB / 425.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3151, allocations: 32 / 425.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000212/0.3153, allocations: 11.94 kB / 425.9 MB, free: 9.77 MB / 334.1 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 9.887e-05/0.3154, allocations: 96.05 kB / 426 MB, free: 9.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.3155, allocations: 19.98 kB / 426.1 MB, free: 9.648 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3155, allocations: 0 / 426.1 MB, free: 9.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.796e-05/0.3156, allocations: 11.98 kB / 426.1 MB, free: 9.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.3159, allocations: 31.14 kB / 426.1 MB, free: 9.609 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.3162, allocations: 163.6 kB / 426.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.3165, allocations: 0.6922 MB / 427 MB, free: 8.703 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.115e-05/0.3166, allocations: 4 kB / 427 MB, free: 8.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.3166, allocations: 11.44 kB / 427 MB, free: 8.688 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.3166, allocations: 4 kB / 427 MB, free: 8.684 MB / 334.1 MB Notification: Performance of Templates: time 0.002924/0.3195, allocations: 0.5864 MB / 427.6 MB, free: 8.105 MB / 334.1 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: 4.757721089757979]