Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.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.001673/0.001673, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002087/0.002087, allocations: 214.2 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.603/1.603, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 47.92 kB / 377.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2887, allocations: 53.37 MB / 431.1 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003044/0.2918, allocations: 1.584 MB / 432.7 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.2929, allocations: 0.5648 MB / 433.3 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.569e-05/0.293, allocations: 4 kB / 433.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.94e-05/0.2931, allocations: 7.875 kB / 433.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.2932, allocations: 11.92 kB / 433.3 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.2935, allocations: 63.77 kB / 433.4 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.2936, allocations: 51.78 kB / 433.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.2937, allocations: 12.17 kB / 433.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.2938, allocations: 23.92 kB / 433.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.04e-05/0.2939, allocations: 27.8 kB / 433.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.2939, allocations: 4 kB / 433.5 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.099e-05/0.294, allocations: 8 kB / 433.5 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.294, allocations: 19.91 kB / 433.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.2941, allocations: 27.81 kB / 433.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.2942, allocations: 59.39 kB / 433.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2942, allocations: 0 / 433.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2942, allocations: 4 kB / 433.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2942, allocations: 3.938 kB / 433.6 MB, free: 4.551 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.0004732/0.2947, allocations: 310.9 kB / 433.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2947, allocations: 8.031 kB / 433.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.474e-05/0.2948, allocations: 38.75 kB / 433.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.2949, allocations: 20.88 kB / 434 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.2952, allocations: 145.1 kB / 434.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.2952, allocations: 12.11 kB / 434.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.2952, allocations: 0 / 434.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.2955, allocations: 109 kB / 434.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2955, allocations: 0 / 434.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.2955, allocations: 0 / 434.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2955, allocations: 4 kB / 434.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.587e-05/0.2956, allocations: 15.98 kB / 434.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.296, allocations: 240.8 kB / 434.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.2961, allocations: 37.2 kB / 434.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.2961, allocations: 25.78 kB / 434.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.2962, allocations: 0 / 434.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.2962, allocations: 38.48 kB / 434.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2962, allocations: 0 / 434.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000248/0.2964, allocations: 65.83 kB / 434.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/0.2965, allocations: 85.11 kB / 434.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.2967, allocations: 149.7 kB / 434.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.2967, allocations: 25.7 kB / 434.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.2967, allocations: 92.12 kB / 435 MB, free: 2.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.2968, allocations: 7.953 kB / 435 MB, free: 2.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.2968, allocations: 13.72 kB / 435 MB, free: 2.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2969, allocations: 314.8 kB / 435.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.077e-05/0.297, allocations: 15.92 kB / 435.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.822e-05/0.297, allocations: 17.72 kB / 435.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.357e-05/0.2971, allocations: 33.64 kB / 435.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2971, allocations: 0 / 435.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001251/0.2972, allocations: 61.69 kB / 435.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2972, allocations: 6.5 kB / 435.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2973, allocations: 0 / 435.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2973, allocations: 4 kB / 435.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.08e-05/0.2973, allocations: 7.938 kB / 435.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2973, allocations: 3.938 kB / 435.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.698e-05/0.2974, allocations: 3.984 kB / 435.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.2974, allocations: 4 kB / 435.5 MB, free: 2.441 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 9.625e-05/0.2975, allocations: 113.9 kB / 435.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.2976, allocations: 49.64 kB / 435.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.2976, allocations: 3.812 kB / 435.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2976, allocations: 7.938 kB / 435.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2976, allocations: 3.938 kB / 435.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2976, allocations: 0 / 435.7 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.2978, allocations: 140.7 kB / 435.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2978, allocations: 0 / 435.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.2978, allocations: 7.984 kB / 435.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.2978, allocations: 3.984 kB / 435.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2978, allocations: 8.031 kB / 435.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.2978, allocations: 7.938 kB / 435.8 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2979, allocations: 3.938 kB / 435.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.298, allocations: 152.4 kB / 436 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.2981, allocations: 19.94 kB / 436 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.2981, allocations: 0 / 436 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-05/0.2982, allocations: 8.031 kB / 436 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.2982, allocations: 7.922 kB / 436 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.2982, allocations: 0 / 436 MB, free: 1.836 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.718e-05/0.2983, allocations: 114.8 kB / 436.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2983, allocations: 0 / 436.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.2985, allocations: 4 kB / 436.1 MB, free: 1.723 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 0.0004862/0.299, allocations: 0.6937 MB / 436.8 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.2991, allocations: 19.98 kB / 436.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2991, allocations: 3.938 kB / 436.8 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.677e-05/0.2992, allocations: 11.94 kB / 436.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.2995, allocations: 28.17 kB / 436.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.3009, allocations: 1.332 MB / 438.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.3013, allocations: 0.6924 MB / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.714e-05/0.3013, allocations: 4 kB / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.3014, allocations: 15.42 kB / 438.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3014, allocations: 0 / 438.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.3307, allocations: 1.747 MB / 440.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.04, allocations: 16.84 kB / 440.7 MB, free: 13.15 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79319e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 13.78622152599928]