Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002089/0.002089, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002414/0.002414, allocations: 213.2 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002465/0.002465, allocations: 71.89 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2944, allocations: 53.41 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003073/0.2975, allocations: 1.565 MB / 432.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.2985, allocations: 0.5259 MB / 433.2 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.989e-05/0.2986, allocations: 3.938 kB / 433.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.557e-05/0.2987, allocations: 3.938 kB / 433.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.2988, allocations: 19.86 kB / 433.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.2992, allocations: 55.81 kB / 433.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.2993, allocations: 51.84 kB / 433.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2994, allocations: 12.19 kB / 433.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.2996, allocations: 31.8 kB / 433.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.151e-05/0.2996, allocations: 15.91 kB / 433.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.2997, allocations: 7.938 kB / 433.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.558e-05/0.2997, allocations: 12 kB / 433.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/0.2998, allocations: 11.98 kB / 433.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.2998, allocations: 19.81 kB / 433.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.3, allocations: 65.64 kB / 433.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3, allocations: 0 / 433.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3, allocations: 0 / 433.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3, allocations: 0 / 433.5 MB, free: 4.207 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.0005994/0.3006, allocations: 309.9 kB / 433.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.3006, allocations: 11.98 kB / 433.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.3007, allocations: 42.69 kB / 433.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.3008, allocations: 16.88 kB / 433.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.3011, allocations: 150.2 kB / 434 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3011, allocations: 8.125 kB / 434.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.3011, allocations: 0 / 434.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.3014, allocations: 117 kB / 434.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3015, allocations: 3.938 kB / 434.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.3015, allocations: 0 / 434.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.3015, allocations: 0 / 434.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.804e-05/0.3015, allocations: 19.98 kB / 434.2 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.3019, allocations: 228.8 kB / 434.4 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.725e-05/0.302, allocations: 41.22 kB / 434.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/0.3021, allocations: 29.7 kB / 434.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.3021, allocations: 4 kB / 434.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.3021, allocations: 30.56 kB / 434.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3021, allocations: 0 / 434.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002534/0.3024, allocations: 69.56 kB / 434.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.3024, allocations: 81.11 kB / 434.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.3026, allocations: 149.7 kB / 434.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.3026, allocations: 25.95 kB / 434.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.3026, allocations: 96.09 kB / 434.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.3027, allocations: 4 kB / 434.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.3027, allocations: 17.7 kB / 435 MB, free: 2.574 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3029, allocations: 314.8 kB / 435.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/0.3029, allocations: 8 kB / 435.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.3029, allocations: 17.7 kB / 435.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.059e-05/0.303, allocations: 33.64 kB / 435.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.303, allocations: 4.062 kB / 435.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001169/0.3031, allocations: 57.58 kB / 435.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3032, allocations: 8 kB / 435.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.3032, allocations: 0 / 435.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.3032, allocations: 0 / 435.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.3033, allocations: 11.97 kB / 435.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3033, allocations: 3.938 kB / 435.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.46e-05/0.3033, allocations: 4 kB / 435.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-06/0.3033, allocations: 0 / 435.4 MB, free: 2.094 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.3034, allocations: 121.9 kB / 435.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-05/0.3035, allocations: 41.66 kB / 435.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.3035, allocations: 7.812 kB / 435.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.3035, allocations: 3.984 kB / 435.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3035, allocations: 3.938 kB / 435.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3035, allocations: 4 kB / 435.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.3037, allocations: 140.6 kB / 435.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3037, allocations: 0 / 435.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.323e-05/0.3037, allocations: 11.92 kB / 435.7 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3037, allocations: 4.031 kB / 435.7 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3037, allocations: 4 kB / 435.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3037, allocations: 0 / 435.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3038, allocations: 3.938 kB / 435.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.3039, allocations: 164.3 kB / 435.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.304, allocations: 11.95 kB / 435.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.304, allocations: 0 / 435.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.304, allocations: 7.984 kB / 435.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.3041, allocations: 7.938 kB / 435.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.3041, allocations: 0 / 435.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.983e-05/0.3042, allocations: 118.8 kB / 436.1 MB, free: 1.375 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3042, allocations: 3.938 kB / 436.1 MB, free: 1.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002118/0.3044, allocations: 4 kB / 436.1 MB, free: 1.367 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.000459/0.3048, allocations: 0.686 MB / 436.7 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.305, allocations: 23.92 kB / 436.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.305, allocations: 0 / 436.8 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.667e-05/0.305, allocations: 12.16 kB / 436.8 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.3054, allocations: 23.89 kB / 436.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.3068, allocations: 1.339 MB / 438.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.819e-05/0.3068, allocations: 79.33 kB / 438.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.085e-05/0.3069, allocations: 4.188 kB / 438.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.217e-05/0.3069, allocations: 19.42 kB / 438.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of SimCode: time 1.518e-05/0.3069, allocations: 0 / 438.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.3369, allocations: 2.195 MB / 440.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.08, allocations: 4.062 kB / 440.4 MB, free: 12.96 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.662790883798152]